How to blocks PR being completed while Copilot review is in progress? #185265
-
Select Topic AreaGeneral Copilot Feature AreaCopilot Enterprise BodyI was notified of a PR and the PR as Auto Merge enabled. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
At the moment, Copilot reviews aren’t treated as a required review in GitHub’s merge rules. Auto-merge only waits for the conditions you’ve explicitly configured (like required human reviewers or status checks), so if those are met, the PR can merge even while Copilot is still reviewing. If you want to ensure Copilot feedback is considered before merge, the closest workaround today is to: Disable auto-merge until Copilot finishes, or Require a human review that waits on Copilot’s comments, or Use a status check / policy (if available in your org) that blocks merge until Copilot completes. It would be great if Copilot reviews could be configured as a required check in the future. |
Beta Was this translation helpful? Give feedback.
-
|
"It would be great if Copilot reviews could be configured as a required check in the future." Is there such a feature in development or considered? |
Beta Was this translation helpful? Give feedback.
At the moment, Copilot reviews aren’t treated as a required review in GitHub’s merge rules. Auto-merge only waits for the conditions you’ve explicitly configured (like required human reviewers or status checks), so if those are met, the PR can merge even while Copilot is still reviewing.
If you want to ensure Copilot feedback is considered before merge, the closest workaround today is to:
Disable auto-merge until Copilot finishes, or
Require a human review that waits on Copilot’s comments, or
Use a status check / policy (if available in your org) that blocks merge until Copilot completes.
It would be great if Copilot reviews could be configured as a required check in the future.