Skip to content

Commit 9cee3a0

Browse files
fix(ci): add gh allowed tools and auto-review on PR open
1 parent d4ce54f commit 9cee3a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ jobs:
5454
${{ github.event_name == 'pull_request' && format('Review PR #{0} using the /review command.', github.event.pull_request.number) || '' }}
5555
claude_args: |
5656
--model claude-opus-4.5
57-
--allowedTools "mcp__github_inline_comment__create_inline_comment"
57+
--allowedTools "Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr comment:*),Bash(gh api:*),Bash(git show:*),Bash(git blame:*),mcp__github_inline_comment__create_inline_comment"
5858
--append-system-prompt "CRITICAL INSTRUCTION: When a user asks you to review a pull request (e.g. @claude review, @claude review this PR, @claude please review), you MUST execute the /review slash command. Do NOT attempt a freeform review. Always use the /review skill — no exceptions."

0 commit comments

Comments
 (0)