Copilot Coding Agent review when "Require approval of the most recent reviewable push" setting is enabled #172019
Replies: 5 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
We have the same issue |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Here's an example PR that demonstrates this bug: radius-project/radius#10239. I am the person who interacted with GH Copilot Agent to create the PR. (I approved it, even though my approval does not count since I interacted with the agent to create the PR.) Another approver on the repo approved the PR. The PR is now asking for another approver in addition to the first approver, even though our protection rules only require a single approver. Expected result: only one approver is required, as defined in our branch protection rules. In other words, it should only take two people to get one of these PRs merged. Currently, three people are required. |
Beta Was this translation helpful? Give feedback.
-
|
Running in to the same issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Copilot Feature Area
Copilot Coding Agent
Body
We have a repo with branch protection rules that require approval of 1 person other than the pr owner, before pull requests can be merged.
Also, we have the "Require approval of the most recent reviewable push" setting enabled, to make sure we just need one person to (re)approve if any last small changes are made to the pr after an initial approval.
But then, when it's a copilot coding agent PR, for some reason this turns into requiring 2 approvals other than the "pr initiator".
This is detailed here https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/review-copilot-prs :
How does that make sense ? Why does a pr which usually needs 1 approval suddenly need 2 approvals ? In any case the person who asked copilot to make the pr doesn't count, so... ?!
This is preventing us from using copilot coding agent as we can't change our workflows to suddenly require 2 reviews instead of 1 just for copilot, which is mostly used for small cleanups/simple tasks for now. So it makes even less sense.
It feels like it's a bug/misunderstanding, because we really don't see what could be the purpose... Is it a technical limitation, to allow someone else to ask copilot to do changes and then approve that ? I would just say don't allow this, anyone asking copilot to contribute to the last change of the pr is disqualified from approving, but otherwise make it just 1 approval !!!
Beta Was this translation helpful? Give feedback.
All reactions