1111 contents : read
1212 pull-requests : write
1313 id-token : write
14+ actions : read
1415
1516 steps :
1617 - name : Checkout repository
@@ -23,17 +24,27 @@ jobs:
2324 uses : anthropics/claude-code-action@v1
2425 with :
2526 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
27+ track_progress : true
28+ use_sticky_comment : true
29+ display_report : true
30+ additional_permissions : |
31+ actions: read
32+ plugin_marketplaces : " https://github.com/anthropics/claude-plugins-official.git"
2633 plugins : " code-review@claude-plugins-official"
2734 prompt : |
2835 REPO: ${{ github.repository }}
2936 PR NUMBER: ${{ github.event.pull_request.number }}
3037
38+ CONTRIBUTOR: ${{ github.event.pull_request.user.login }}
39+ CONTRIBUTOR_ASSOCIATION: ${{ github.event.pull_request.author_association }}
40+
3141 Read .claude/commands/code-review.md and follow its instructions to review PR ${{ github.event.pull_request.number }}.
3242
3343 Note: The PR branch is already checked out in the current working directory.
3444
35- Use `gh pr comment` for top-level feedback.
36- Use `mcp__github_inline_comment__create_inline_comment` (with `confirmed: true`) to highlight specific code issues.
37- Only post GitHub comments - don't submit review text as messages.
45+ If CONTRIBUTOR_ASSOCIATION is FIRST_TIME_CONTRIBUTOR or NONE, this is a new contributor.
46+ Be extra welcoming, but also be thorough — check for compliance with project coding standards,
47+ proper test coverage, and any breaking changes. Help them understand project conventions
48+ rather than just pointing out issues.
3849
39- claude_args : ' --model opus --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"'
50+ claude_args : ' --model opus --allowedTools "Read,Glob,Grep, mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"'
0 commit comments