Skip to content

Add Claude Code review workflow - #60

Closed
BenWestgate wants to merge 0 commit into
masterfrom
claude-code-review
Closed

BenWestgate wants to merge 0 commit into
masterfrom
claude-code-review

Conversation

@BenWestgate

@BenWestgate BenWestgate commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Add a focused Claude Code GitHub Actions workflow so @claude mentions on pull requests can launch Claude Code.

  • respond to top-level PR comments, inline review comments, and submitted reviews containing @claude
  • ignore bot-authored events to avoid recursive trigger loops
  • grant Claude access to PRs/issues and read access to Actions results
  • authenticate to Anthropic with GitHub OIDC via Workload Identity Federation; no static API key secret is required

Testing

Workflow configuration only; no application code changed.

The workflow grants id-token: write and passes the configured Anthropic federation rule, organization, service account, and workspace identifiers directly to anthropics/claude-code-action@v1. After merge, test with @claude review this PR on a pull request.

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

LGTM

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

AI-generated review, posted at the maintainer's request.

ACK 004aca7. The trigger filter avoids bot recursion, WIF inputs match claude-code-action@v1, and permissions match the requested PR/issue workflow. Smoke-test one @claude mention after merge because issue_comment workflows run from the default branch.

@chatgpt-codex-connector

This comment has been minimized.

@BenWestgate

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 7fa2d9cab8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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