From 5c32ed23a87c8d1234f5868082abf1979226ab8c Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 19 Jan 2026 10:13:59 -0700 Subject: [PATCH] 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 --- .github/workflows/review-pr-claude.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/review-pr-claude.yml b/.github/workflows/review-pr-claude.yml index bfe15521c..0c1666a47 100644 --- a/.github/workflows/review-pr-claude.yml +++ b/.github/workflows/review-pr-claude.yml @@ -48,6 +48,7 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + allowed_tools: 'Bash(gh pr comment:*),Bash(gh pr view:*),Bash(gh api:*),Read,Glob,Grep,Task,Skill' claude_args: | --model claude-opus-4-5 prompt: |