-
-
Notifications
You must be signed in to change notification settings - Fork 302
Add GitHub Action to enforce peer review on pull requests #4699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: DonnieBLT <[email protected]>
Co-authored-by: DonnieBLT <[email protected]>
Co-authored-by: DonnieBLT <[email protected]>
|
👋 Hi @Copilot! This pull request needs a peer review before it can be merged. Please request a review from a team member who is not:
Once a valid peer review is submitted, this check will pass automatically. Thank you! |
|
@copilot make DonnieBLT, dependabot and copilot be exempt from this github action |
Co-authored-by: DonnieBLT <[email protected]>
Enforces that all PRs have at least one approved review from a valid peer before merging. Excludes reviews from the PR author, DonnieBLT, coderabbit, and copilot.
Exempts PRs created by DonnieBLT, dependabot, and copilot users from the check entirely.
Implementation
New workflow:
.github/workflows/check-peer-review.ymlAPPROVEDstate onlyBehavior
The jq filter explicitly validates review state and excluded users:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.