Skip to content

Commit d6e4f30

Browse files
shumkovclaude
andauthored
ci: re-pin PR Hygiene to require a green build before asking a human (#4796)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 3ec43f9 commit d6e4f30

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pr-review-policy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ on:
1313
workflow_dispatch:
1414
schedule:
1515
- cron: '17 * * * *'
16+
# A build turning green raises no event this controller hears. This one
17+
# reconciles only the pull requests already recorded as waiting on one, so
18+
# it costs a listing and a single batched read when none are — which is
19+
# almost always. Offset from the hourly sweep so the two never collide.
20+
- cron: '2,32,47 * * * *'
1621
permissions:
1722
contents: read
1823
pull-requests: write
@@ -40,4 +45,4 @@ jobs:
4045
(contains(fromJSON('["coderabbitai", "coderabbitai[bot]"]'), github.event.comment.user.login) &&
4146
(contains(github.event.comment.body, 'final_review_risk_coverage') ||
4247
contains(github.event.comment.body, 'rate limited by coderabbit.ai')))
43-
uses: dashpay/stale_prs_are_bad/.github/workflows/pr-review-reusable.yml@6d57d4c22eeeeaff88554f6e78466be2aec7aed7
48+
uses: dashpay/stale_prs_are_bad/.github/workflows/pr-review-reusable.yml@176b4072cb93c69a19c68ebdda2080b5ec12bea3

0 commit comments

Comments
 (0)