Repository navigation
Add a Claude code review to pull requests - #14
Merged
Merged
Conversation
claude-review.yml runs anthropics/claude-code-action (pinned to v1.0.289) on every pull request that isn't a draft. Claude leaves inline comments on the changed lines and one summary comment. The prompt covers bugs, Swift concurrency, the MVVM-C layering, tests, pt-BR strings and security. It can only read the code, view the diff and comment. Pull requests from forks and Dependabot are skipped. Needs the Claude GitHub App on the repository and the CLAUDE_CODE_OAUTH_TOKEN secret. Both READMEs document it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ Claude reviews every pull request
A new workflow,
claude-review.yml, runsanthropics/claude-code-actionon every pull request that isn't a draft, like Copilot code review. Claude leaves inline comments on the changed lines and posts one short summary comment.The prompt is written for this repo. In order of priority it checks:
It skips style that SwiftLint already enforces, and doesn't repeat its earlier comments when new commits are pushed.
🔒 Permissions
id-token: write, which exchanges the workflow's identity for the Claude GitHub App's token, so comments come fromclaude[bot].⚙️ Setup before merging
CLAUDE_CODE_OAUTH_TOKEN(create it withclaude setup-token).The action only runs once this workflow exists on
main, the default branch: until then, and on PRs that change it, it skips with a warning. So this PR won't be reviewed itself. Reviews start once it's released tomain.Docs
Both READMEs describe the workflow in the CI/CD section.
🤖 Generated with Claude Code