diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 3d7957420a..6115d33428 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -33,3 +33,4 @@ jobs: trigger_phrase: "/claude" claude_args: >- --allowedTools "mcp__github_inline_comment__create_inline_comment" + --disallowedTools "Bash(git add:*),Bash(git commit:*),Bash(git rm:*),Bash(git push:*)"