Disable copilot review for forks #202008
Replies: 2 comments
|
💬 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. ⭐ |
|
This may be coming from the repository’s automatic Copilot code review configuration, not from your personal “automatic review for my own PRs” setting. GitHub’s docs distinguish the two cases:
The important billing detail is in the Copilot code review docs: https://docs.github.com/en/copilot/concepts/agents/code-review They say that if a repository is configured to automatically request a Copilot review for new PRs, AI credit consumption is attributed to the pull request author. If someone manually requests the review, the consumption is attributed to the user who requested it. So in your case, the likely chain is: Things I would check:
For mitigation today, I do not think a fork author can fully prevent a target repository’s automatic Copilot review rule from running. The control seems to be on the repository/organization side. But I agree the credit attribution is surprising for outside contributors, especially when the contributor did not explicitly request the review. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Copilot Code Review
Body
I have disabled automatic code reviews from my account.
However, when I fork a repo that uses copilot, my personal copilot gets triggered, which eats up my credits. And now that my credits are used, it posts a comment saying "Copilot was unable to review this pull request because the user who requested the review has reached their quota limit."
But I did not request it!
This happens to me a lot when I open PRs on pnpm, a repo for which I'm not an official maintainer.
What can I do?
All reactions