From 583874c9e017502ea680a632a8f29b6c37802765 Mon Sep 17 00:00:00 2001 From: km-anthropic Date: Tue, 12 Aug 2025 12:29:30 -0700 Subject: [PATCH] Explicitly list MCP tools instead of using glob --- .github/workflows/claude-auto-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-auto-review.yml b/.github/workflows/claude-auto-review.yml index 9ea74bb..fa2a14c 100644 --- a/.github/workflows/claude-auto-review.yml +++ b/.github/workflows/claude-auto-review.yml @@ -37,4 +37,4 @@ jobs: You have access to mcp__github__ tools for creating and submitting reviews. Create a review with constructive feedback and submit it as a COMMENT (not APPROVE). - claude_args: '--allowedTools "mcp__github__*,Read,Grep,Glob"' \ No newline at end of file + claude_args: '--allowedTools "mcp__github__get_pull_request,mcp__github__get_pull_request_diff,mcp__github__get_pull_request_files,mcp__github__create_pending_pull_request_review,mcp__github__add_comment_to_pending_review,mcp__github__submit_pending_pull_request_review,Read,Grep,Glob"' \ No newline at end of file