Repository navigation
ci: re-pin PR Hygiene to require a green build before asking a human - #1483
Conversation
A pull request now has to be green before reviewers are requested, and a build that goes red afterwards does not take that back. A second schedule looks again at the pull requests waiting on a build, because a build turning green raises no event this controller hears. dashpay/stale_prs_are_bad#32, #33 and #34 landed as 176b4072cb93c69a19c68ebdda2080b5ec12bea3. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR HygieneState: waiting-bots · commit
Self-review is an author attestation that you have read the diff: This report does not bypass CI or repository protection rules. |
Re-pins the shared review workflow onto dashpay/stale_prs_are_bad#32, #33 and #34.
A green build before a human is asked. Reviewers are requested once the build is green; a build that goes red afterwards does not take it back, so a flaky test cannot withdraw a review request already sent or drop its author out of a review slot. A new push starts the cycle again, as it already does for the bots and the attestation.
Only the newest run of each check counts — re-running a check adds a run beside the old one rather than replacing it, so a head keeps every failed attempt for ever and GitHub's own rollup reads FAILURE on pull requests whose every check has since passed. Cancelled is not a failure. A repository with no checks is green.
A second schedule, three times an hour, reconciles only the pull requests already recorded as waiting on a build — because a build turning green raises no event this controller subscribes to. It costs two requests when nothing is waiting, and does nothing at all where this controller does not write.
One less thing to read. The state comment asked for the self-review attestation three times over; it asks once now. Naming a commit explicitly still works, it is simply no longer advertised.
No change to who may approve, or to the five-slot queue.
🤖 Generated with Claude Code