mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 06:38:29 +04:00
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:c0e75c9de6("github: add Claude code review workflow triggered by /claude comment") Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit29e1c7b85a) Link: https://github.com/openwrt/openwrt/pull/24318 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
1 parent
c5f379d2f8
commit
eb680551f2
1 file changed
-3
@@ -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:*)"
|
||||
Reference in new issue
Block a user