Repository navigation
Add Claude Code review reusable workflow - #1
Conversation
- Add claude-code-review.yml for automated PR code review - Runs on non-draft PRs via `anthropics/claude-code-action@v1` - Supports `workflow_call` for cross-repo reuse Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Document how to call the reusable Claude Code review workflow - Include secrets setup, behavior details, and customization tips Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9625fffd93
ℹ️ 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".
There was a problem hiding this comment.
Pull request overview
Adds an org-shared GitHub Actions reusable workflow for automated PR review using anthropics/claude-code-action@v1, and updates the repository README with setup/usage instructions for downstream repos.
Changes:
- Added a “Claude Code Review” workflow intended to run on non-draft PRs and post inline review comments.
- Documented how to consume the reusable workflow, required secrets, and expected behavior/customization via
REVIEW.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
workflows/claude-code-review.yml |
Introduces the reusable PR review workflow configuration and permissions/concurrency settings. |
README.md |
Replaces the template README with documentation for adopting the Claude review workflow across repos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Move `claude-code-review.yml` back to `.github/workflows/` where GitHub Actions can discover it for `workflow_call` - Remove unnecessary `id-token: write` permission (least privilege) - Add `permissions` block to README caller snippet so downstream repos grant `pull-requests: write` for inline review comments Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- `anthropics/claude-code-action@v1` uses OIDC to mint a GitHub token, so `id-token: write` is mandatory — not optional as Copilot suggested - Add it back to both the workflow and the README caller snippet Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
workflows/claude-code-review.yml) that reviews non-draft PRs for code quality, correctness, and security viaanthropics/claude-code-action@v1Test plan
uses: taptap/.github/.github/workflows/claude-code-review.yml@mainANTHROPIC_API_KEYorg secret is set🤖 Generated with Claude Code