@@ -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"
2727
2828 steps :
2929 - name : Checkout repository
30- uses : actions/checkout@v6
30+ uses : actions/checkout@v4
3131 with :
3232 fetch-depth : 1
3333
3636 uses : anthropics/claude-code-action@v1
3737 with :
3838 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
39- prompt : |
40- REPO: ${{ github.repository }}
41- PR NUMBER: ${{ github.event.pull_request.number }}
42-
43- Please review this pull request and provide feedback on:
44- - Code quality and best practices
45- - Potential bugs or issues
46- - Performance considerations
47- - Security concerns
48- - Test coverage
49-
50- Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
51-
52- Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR.
53-
39+ plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
40+ plugins : ' code-review@claude-code-plugins'
41+ prompt : ' /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
5442 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
55- # or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
56- 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:*)"'
43+ # or https://code.claude.com/docs/en/cli-reference for available options
5744
0 commit comments