···1717 # github.event.pull_request.user.login == 'external-contributor' ||
1818 # github.event.pull_request.user.login == 'new-developer' ||
1919 # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
2020-2020+2121 runs-on: ubuntu-latest
2222 permissions:
2323 contents: read
2424 pull-requests: read
2525 issues: read
2626 id-token: write
2727-2727+2828 steps:
2929 - name: Checkout repository
3030 uses: actions/checkout@v4
···4343 - Performance considerations
4444 - Security concerns
4545 - Test coverage
4646-4646+4747 Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
48484949 Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
5050-5050+5151 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
5252 # or https://docs.anthropic.com/en/docs/claude-code/sdk#command-line for available options
5353 claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'
5454-
+1-2
.github/workflows/claude.yml
···3535 uses: anthropics/claude-code-action@v1
3636 with:
3737 claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
3838-3838+3939 # This is an optional setting that allows Claude to read CI results on PRs
4040 additional_permissions: |
4141 actions: read
···4747 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
4848 # or https://docs.anthropic.com/en/docs/claude-code/sdk#command-line for available options
4949 # claude_args: '--model claude-opus-4-1-20250805 --allowed-tools Bash(gh pr:*)'
5050-