ci: review-gate — exempt bot-authored PRs (e.g. dependabot)#107
Merged
Conversation
Seer and Codex don't review bot-authored PRs, so once `Review bots done` is a required check, every dependabot dependency-bump PR fail-closes on the timeout and can never merge. Skip the wait (job passes) when the PR author is a Bot, alongside the existing merge_group/draft no-ops. Human PRs still gate on Seer + Codex. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DaLybCc9v3px6dL2j9pF6W
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Review bots done GitHub Actions workflow to avoid blocking bot-authored pull requests (e.g. Dependabot) on a check that will never receive Seer/Codex signals for those PRs, while preserving the gating behavior for human-authored PRs.
Changes:
- Extend the “wait for review bots” step condition to skip execution for bot-authored PRs (
github.event.pull_request.user.type == 'Bot'). - Keep existing no-op behavior for
merge_groupand draft PRs, so the required check still passes in those scenarios without waiting.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Now that
Review bots doneis a required check again, it blocks dependabot (and other bot-authored) PRs: Seer and Codex don't review bot-authored PRs, so the gate waits, hits its 10-minute timeout, and fail-closes — permanently blocking routine dependency bumps. Confirmed on #52 (dependabot): 0 Seer check-runs, 0 Codex reviews/reactions.What
Skip the wait (job passes as a no-op) when the PR author is a Bot, alongside the existing
merge_groupand draft no-ops:Human-authored PRs still gate on Seer + Codex. Bot PRs (dependabot, etc.) pass immediately since the review bots would never signal on them anyway.
Note
The currently-blocked dependabot PRs (#52/#42/#40/#38) will clear once they re-run this check (or on their next push) after this merges — or you can admin-bypass them in the meantime.
actionlintclean.🤖 Generated with Claude Code