Skip to content

ci: add advisory Claude PR review workflow#3456

Merged
Hmbown merged 1 commit into
mainfrom
chore/ai-pr-review-workflows
Jun 23, 2026
Merged

ci: add advisory Claude PR review workflow#3456
Hmbown merged 1 commit into
mainfrom
chore/ai-pr-review-workflows

Conversation

@Hmbown

@Hmbown Hmbown commented Jun 23, 2026

Copy link
Copy Markdown
Owner

What

Adds an advisory Claude code review GitHub Action that runs on every non-draft PR, per Hunter's request to add AI reviewers.

  • .github/workflows/claude-review.ymlanthropics/claude-code-action@v1 (review mode, track_progress), authed by the CLAUDE_CODE_OAUTH_TOKEN repo secret (already added).
  • .github/CODEOWNERS — comment documenting that AI review is advisory and not wired through CODEOWNERS (which only accepts users/teams, not bots); @Hmbown stays the human owner.

Codex / ChatGPT review — handled out-of-repo

Per Hunter's choice, Codex review runs via the ChatGPT Codex cloud integration (chatgpt.com/codex → connect GitHub → enable Code review), authed by the ChatGPT subscription — so there's no OpenAI workflow file or repo secret here. (An earlier revision of this PR included a codex-review.yml using OPENAI_API_KEY; it was dropped in favor of the cloud integration to avoid duplicate Codex comments.)

Why a workflow, not CODEOWNERS

CODEOWNERS can only list real GitHub users/teams — a bot like claude[bot] can't be a code owner. So Claude review is a pull_request Action that posts review comments. It's advisory; it doesn't gate merge or replace @Hmbown.

Notes

🤖 Generated with Claude Code

@Hmbown Hmbown force-pushed the chore/ai-pr-review-workflows branch from a92cc7b to 6899368 Compare June 23, 2026 07:07
@Hmbown Hmbown changed the title ci: add advisory Claude + Codex PR review workflows ci: add advisory Claude PR review workflow Jun 23, 2026
Wire Claude code review into every non-draft PR as a GitHub Action, since
GitHub CODEOWNERS only accepts users/teams (not bots). @Hmbown stays the human
owner; the review is advisory and posts alongside it.

- claude-review.yml: anthropics/claude-code-action@v1 in review mode with
  track_progress; auth via CLAUDE_CODE_OAUTH_TOKEN (from `claude setup-token`).
  No-ops with a notice until the secret is set, so it's safe to merge first.

Codex/ChatGPT review is handled out-of-repo via the ChatGPT Codex cloud
integration (chatgpt.com/codex), authed by the ChatGPT subscription, so no
OpenAI workflow or repo secret is needed. CODEOWNERS documents the split.

The review prompt also guards the v0.8.65 EPIC #2608 routing invariant
(provider-prefixed model strings are wire ids/hints, not provider-selection
proof).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Hmbown Hmbown force-pushed the chore/ai-pr-review-workflows branch from 6899368 to ddc33d4 Compare June 23, 2026 07:54
@Hmbown Hmbown merged commit 6ec44b6 into main Jun 23, 2026
15 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