@@ -2,7 +2,7 @@ name: Claude Code Review
22
33on :
44 pull_request :
5- types : [opened, synchronize]
5+ types : [opened, synchronize, ready_for_review, reopened ]
66 # Optional: Only run on specific file changes
77 # paths:
88 # - "src/**/*.ts"
@@ -20,14 +20,14 @@ jobs:
2020 # github.event.pull_request.user.login == 'external-contributor' ||
2121 # github.event.pull_request.user.login == 'new-developer' ||
2222 # github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
23-
23+
2424 runs-on : ubuntu-latest
2525 permissions :
2626 contents : read
2727 pull-requests : read
2828 issues : read
2929 id-token : write
30-
30+
3131 steps :
3232 - name : Checkout repository
3333 uses : actions/checkout@v4
3939 uses : anthropics/claude-code-action@v1
4040 with :
4141 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
42- prompt : |
43- REPO: ${{ github.repository }}
44- PR NUMBER: ${{ github.event.pull_request.number }}
45-
46- Please review this pull request and provide feedback on:
47- - Code quality and best practices
48- - Potential bugs or issues
49- - Performance considerations
50- - Security concerns
51- - Test coverage
52-
53- Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
54-
55- Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
56-
42+ plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
43+ plugins : ' code-review@claude-code-plugins'
44+ prompt : ' /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
5745 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
58- # or https://docs.claude.com/en/docs/claude-code/sdk#command-line for available options
59- 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:*)"'
46+ # or https://code.claude.com/docs/en/cli-reference for available options
6047
0 commit comments