Skip to content

Commit 1297822

Browse files
[CI] Add Grep and Glob to Claude review allowedTools
The review prompt instructs Claude to "Use Grep to search for usage beyond declaration sites" but Grep was missing from the workflow's --allowedTools list, so the call would have been blocked. Add Grep and Glob (matches the corresponding tool set in claude.yml). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Keval Morabia <28916987+kevalmorabia97@users.noreply.github.com>
1 parent 34c9653 commit 1297822

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude_review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
trigger_phrase: "/claude review"
6565
show_full_output: true
6666
claude_args: |
67-
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr review:*),Bash(git diff:*),Bash(git show:*),Bash(git log:*),Read"
67+
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr review:*),Bash(git diff:*),Bash(git show:*),Bash(git log:*),Read,Grep,Glob"
6868
--model "${{ vars.CLAUDE_MODEL }}"
6969
prompt: |
7070
REPO: ${{ env.REPO }}

0 commit comments

Comments
 (0)