From c6cbee5f8840ba5b1ebd53feab07491975a59326 Mon Sep 17 00:00:00 2001 From: Julien Genestoux <17735+julien51@users.noreply.github.com> Date: Sat, 21 Mar 2026 18:38:40 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20Claude=20Code=20Review=20workflow?= =?UTF-8?q?=20(allowed=5Ftools=20=E2=86=92=20claude=5Fargs)=20(#16340)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ci: fix claude-code-review allowed_tools — use claude_args instead allowed_tools is no longer a valid input for claude-code-action@v1. Use claude_args: '--allowedTools ...' instead. Without this the review agent cannot post PR comments. Co-authored-by: Claude Sonnet 4.6 --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 7ccd6c688ef..254d9d4ce1b 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -39,7 +39,7 @@ jobs: plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' plugins: 'code-review@claude-code-plugins' prompt: '/code-review:code-review --comment ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' - allowed_tools: 'mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr review:*),Bash(gh pr view:*),Bash(git diff:*),Bash(git log:*),Bash(git show:*),Read,Glob,Grep' + claude_args: '--allowedTools mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr review:*),Bash(gh pr view:*),Bash(git diff:*),Bash(git log:*),Bash(git show:*),Read,Glob,Grep' display_report: 'true' use_sticky_comment: 'true' # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md