Can copilot approve pull requests? #171743
-
| Select Topic AreaQuestion Copilot Feature AreaCopilot in GitHub BodyI am able to get copilot to review my pull requests but it doesn't seem to approve them ever. Is there a way to configure it to actually approve / request changes instead of just comment on it? | 
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
| Currently, GitHub Copilot can help with reviewing pull requests by suggesting comments, pointing out possible improvements, or highlighting issues. However, it cannot actually approve or request changes on a pull request. Approving or requesting changes is considered a formal code review action, and at this moment only real users (with proper permissions) can perform that in GitHub. Copilot is limited to generating review comments to assist you, but the final approval must be done by a team member. If you want automated approvals, you would need to set up GitHub Actions or a bot (using the GitHub API) that can programmatically approve PRs under specific conditions. Copilot itself does not have that capability. | 
Beta Was this translation helpful? Give feedback.
-
| Hey @justinmchase, | 
Beta Was this translation helpful? Give feedback.
-
| No — Copilot cannot approve or request changes on PRs. Approving or requesting changes is a formal code review action, and only real users with proper permissions can do that in GitHub. 
 to programmatically approve PRs under specific conditions. | 
Beta Was this translation helpful? Give feedback.
Hey @justinmchase,
I wish it could but unfortunately not, Copilot can only review PRs as you mentioned.
However you can configure GitHub actions to approve PRs.
Hope this helps