Skip to content

Commit d08dd85

Browse files
authored
Refactor Claude Code Review action configuration
Updated Claude Code Review action parameters and removed deprecated settings.
1 parent 5c4ab33 commit d08dd85

1 file changed

Lines changed: 12 additions & 19 deletions

File tree

.github/workflows/claude-code-review.yml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,15 @@ jobs:
2121
ref: ${{ github.event.pull_request.head.sha }}
2222
fetch-depth: 1
2323

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-
claude_args: '--allowed-tools Bash'
34-
35-
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
36-
plugins: 'code-review@claude-code-plugins'
37-
prompt: |
38-
/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
39-
Post the results as one top-level PR comment titled "Claude Code Review".
40-
If something prevents you from reviewing (permissions/tools/files), still post a short comment explaining what was blocked.
41-
additional_permissions: |
42-
actions: read
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

0 commit comments

Comments
 (0)