Skip to content

Commit 41630a6

Browse files
authored
Merge branch 'master' into feat/source-linter
2 parents 0a8b2e6 + 5e08029 commit 41630a6

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"allowedTools": ["Bash(*)"]
2+
"allowedTools": ["Bash(gh *)", "Bash(git *)", "Bash(python3 *)", "Bash(grep *)", "Bash(cat *)", "Bash(ls *)"]
33
}

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,26 @@ jobs:
2828
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
2929
github_token: ${{ github.token }}
3030

31-
show_full_output: true
32-
3331
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
3432
plugins: 'code-review@claude-code-plugins'
3533

36-
claude_args: |
37-
--allowedTools "Bash(*)"
34+
# IMPORTANT: allow exactly what the review flow uses
35+
claude_args: >
36+
--allowedTools
37+
"Bash(gh pr view:*)"
38+
"Bash(gh pr diff:*)"
39+
"Bash(gh api:*)"
40+
"Bash(gh search code:*)"
41+
"Bash(cat:*)"
42+
"Bash(ls:*)"
43+
"Bash(grep:*)"
44+
"Bash(python3:*)"
45+
"Bash(git:*)"
3846
3947
prompt: |
4048
/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}
4149
Post the results as one top-level PR comment titled "Claude Code Review".
50+
If you cannot access the diff/files, say so explicitly and explain what is blocking access.
4251
4352
additional_permissions: |
4453
actions: read

0 commit comments

Comments
 (0)