From eb680551f2bed4bfcf60887b952efa1296e41987 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 22 Mar 2026 21:28:54 +0100 Subject: [PATCH] github: remove allowedTools restriction from claude-code-review The whitelist was too restrictive, causing permission denials when Claude tried to use basic tools like Read or Grep to analyse the diff. Remove it and let the action use its default toolset. Fixes: c0e75c9de6f2 ("github: add Claude code review workflow triggered by /claude comment") Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Hauke Mehrtens (cherry picked from commit 29e1c7b85abcbb771209b2f983a069f826428cff) Link: https://github.com/openwrt/openwrt/pull/24318 Signed-off-by: Christian Marangi --- .github/workflows/claude-code-review.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 9682131eaa0..df19bcd290d 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -33,6 +33,3 @@ jobs: prompt: >- Review this PR for an OpenWrt embedded Linux project, focusing on correctness, security, and coding conventions. - claude_args: >- - --allowedTools - "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)"