Skip to content

ci: add Claude PR review + auto-merge workflows#13

Merged
github-actions[bot] merged 1 commit into
mainfrom
ci/add-claude-pr-review
May 22, 2026
Merged

ci: add Claude PR review + auto-merge workflows#13
github-actions[bot] merged 1 commit into
mainfrom
ci/add-claude-pr-review

Conversation

@chrischall
Copy link
Copy Markdown
Owner

Adds the universal AI review setup that's standard across the rest of the fleet.

What this PR does

  • pr-auto-review.yml — Claude reviews every same-repo non-bot PR with a JSON-schema verdict (pass / warn / fail). Uses a Haiku/Sonnet/Opus ladder based on PR size; the review-with-opus label forces Opus.
  • auto-merge.yml — arms gh pr merge --auto on dependabot PRs and on any PR with the ready-to-merge label.
  • claude.yml — ad-hoc dispatch when @claude is mentioned in an issue or PR comment.

Before merging

  • CLAUDE_CODE_OAUTH_TOKEN secret must be set on this repo
  • RELEASE_PAT secret should already be set; if not, generate a PAT with repo scope and add as secret

What this PR does NOT touch

  • Existing ci.yml / release / deploy workflows are left alone. A separate release-please migration may come later if the repo's shape supports it.

Mirrors ofw-mcp's universal AI review setup:
- pr-auto-review.yml — Claude reviews every same-repo non-bot PR with a
  JSON-schema-bound verdict (pass / warn / fail). Uses a Haiku/Sonnet/
  Opus ladder based on PR size, or `review-with-opus` label to force
  Opus. On `pass`, adds `ready-to-merge` via RELEASE_PAT.
- auto-merge.yml — arms `gh pr merge --auto` on dependabot PRs and on
  any PR with the `ready-to-merge` label.
- claude.yml — ad-hoc dispatch when @claude is mentioned in an issue
  or PR comment.

Required secrets (set separately if not already):
- CLAUDE_CODE_OAUTH_TOKEN — set via `set-claude-oauth-secret`
- RELEASE_PAT — for label-add events to fire downstream workflows

No release pipeline changes in this PR — that's per-repo and lives
elsewhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot enabled auto-merge May 22, 2026 20:58
@github-actions github-actions Bot merged commit 321f3a3 into main May 22, 2026
2 of 3 checks passed
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.

1 participant