Skip to content

Commit 41bf134

Browse files
authored
fix(github): add gh api to claude-review allowed-tools (#4573)
The code-review plugin needs `gh api` access to fetch file contents and post PR reviews. Without it, these calls were silently denied, preventing the review from being posted.
1 parent 28b0035 commit 41bf134

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
test coverage with jest-axe, and conventional commits.
6969
Refer to CLAUDE.md and .github/copilot-instructions.md for detailed conventions."
7070
--allowed-tools
71-
"Bash(git:*),Bash(gh pr:*),Bash(gh issue:*),Bash(ls:*),Bash(cat:*),Bash(grep:*),Bash(head:*),Bash(tail:*)"
71+
"Bash(git:*),Bash(gh pr:*),Bash(gh issue:*),Bash(gh api:*),Bash(ls:*),Bash(cat:*),Bash(grep:*),Bash(head:*),Bash(tail:*)"

0 commit comments

Comments
 (0)