Skip to content

ci: review-gate — exempt bot-authored PRs (e.g. dependabot)#107

Merged
Just-Insane merged 1 commit into
mainfrom
ci/review-gate-exempt-bots
Jul 9, 2026
Merged

ci: review-gate — exempt bot-authored PRs (e.g. dependabot)#107
Just-Insane merged 1 commit into
mainfrom
ci/review-gate-exempt-bots

Conversation

@Just-Insane

Copy link
Copy Markdown
Contributor

Why

Now that Review bots done is 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_group and draft no-ops:

if: >-
  github.event_name == 'pull_request'
  && github.event.pull_request.draft == false
  && github.event.pull_request.user.type != 'Bot'

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.

actionlint clean.

🤖 Generated with Claude Code

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
Copilot AI review requested due to automatic review settings July 9, 2026 14:01
@Just-Insane Just-Insane temporarily deployed to cloudflare-preview July 9, 2026 14:01 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_group and 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.

@Just-Insane Just-Insane added this pull request to the merge queue Jul 9, 2026
Merged via the queue into main with commit f69b62d Jul 9, 2026
28 checks passed
@Just-Insane Just-Insane deleted the ci/review-gate-exempt-bots branch July 9, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants