From 17a9444251f4aee3803ed68a18fe2c3760962f37 Mon Sep 17 00:00:00 2001 From: abdorahmene Date: Fri, 20 Mar 2026 13:58:17 +0100 Subject: [PATCH] fix: replace allowed_tools with claude_args in Claude Code Action workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The allowed_tools input was removed in claude-code-action@v1. Replaced with claude_args using the --allowedTools CLI flag format. No functional changes — same tools allowed, just correct input syntax. --- .github/workflows/claude.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index d205fd22..ede0c82a 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -42,8 +42,9 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} # Allow Claude to run git commands and push changes - allowed_tools: "Bash(git commit:*),Bash(git push:*),Bash(git merge:*),Bash(git checkout:*),Bash(git add:*),Bash(git status:*),Bash(git diff:*),Bash(git log:*),Bash(git fetch:*),Bash(gh pr:*),Bash(gh issue:*)" - + claude_args: | + --allowedTools Bash(git commit:*),Bash(git push:*),Bash(git merge:*),Bash(git checkout:*),Bash(git add:*),Bash(git status:*),Bash(git diff:*),Bash(git log:*),Bash(git fetch:*),Bash(gh pr:*),Bash(gh issue:*) + # Allow github-actions[bot] to trigger Claude Code Action allowed_bots: "stainless-app"