File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,24 @@ jobs:
2121 ref : ${{ github.event.pull_request.head.sha }}
2222 fetch-depth : 1
2323
24- with :
25- claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
26- github_token : ${{ github.token }}
27- show_full_output : true
28- plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
29- plugins : ' code-review@claude-code-plugins'
30- claude_args : ' --setting-sources user,project,local --allowed-tools Bash'
31- prompt : |
32- /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
33- Post the results as one top-level PR comment titled "Claude Code Review".
34- additional_permissions : |
35- actions: read
24+ - name : Run Claude Code Review
25+ id : claude-review
26+ uses : anthropics/claude-code-action@v1
27+ with :
28+ claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
29+ github_token : ${{ github.token }}
30+
31+ show_full_output : true
32+
33+ plugin_marketplaces : ' https://github.com/anthropics/claude-code.git'
34+ plugins : ' code-review@claude-code-plugins'
35+
36+ claude_args : |
37+ --allowedTools "Bash(*)"
38+
39+ prompt : |
40+ /code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
41+ Post the results as one top-level PR comment titled "Claude Code Review".
42+
43+ additional_permissions : |
44+ actions: read
You can’t perform that action at this time.
0 commit comments