Skip to content

Commit 7dd57eb

Browse files
committed
chore: allow gh/git CLI in Claude code review workflow
The code-review plugin needs Bash access to gh CLI for fetching PR data and posting review comments. Without it, all 12 Bash calls are denied and the review findings are silently dropped.
1 parent f775f57 commit 7dd57eb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
plugins: 'code-review@claude-code-plugins'
3636
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'
3737
show_full_output: true
38+
claude_args: '--allowedTools "Bash(gh *)" "Bash(git *)"'
3839
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
3940
# or https://code.claude.com/docs/en/cli-reference for available options
4041

0 commit comments

Comments
 (0)