Skip to content

Commit 5c32ed2

Browse files
KyleAMathewsclaude
andcommitted
Fix Claude review workflow permissions
Add allowed_tools to permit gh CLI commands for posting PR review comments. Without this, Claude Code's internal permission system blocks the commands. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 016e0f5 commit 5c32ed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
uses: anthropics/claude-code-action@v1
4949
with:
5050
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
51+
allowed_tools: 'Bash(gh pr comment:*),Bash(gh pr view:*),Bash(gh api:*),Read,Glob,Grep,Task,Skill'
5152
claude_args: |
5253
--model claude-opus-4-5
5354
prompt: |

0 commit comments

Comments
 (0)