Skip to content

fix: replace allowed_tools with claude_args in Claude Code Action workflow#1276

Open
AbdoKnbGit wants to merge 1 commit intoanthropics:mainfrom
AbdoKnbGit:patch-2
Open

fix: replace allowed_tools with claude_args in Claude Code Action workflow#1276
AbdoKnbGit wants to merge 1 commit intoanthropics:mainfrom
AbdoKnbGit:patch-2

Conversation

@AbdoKnbGit
Copy link
Copy Markdown

@AbdoKnbGit AbdoKnbGit commented Mar 20, 2026

What was wrong:

  • allowed_tools is not a valid input in claude-code-action@v1 — it was removed
  • This caused a warning and the action couldn't resolve the tools permission correctly

What was changed:

  • Replaced allowed_tools: "..." with claude_args: | --allowedTools ... which is the correct v1 syntax
  • No functional change — same tools are allowed, just using the right input key

…kflow

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.
@AbdoKnbGit AbdoKnbGit requested a review from a team as a code owner March 20, 2026 12:58
@AbdoKnbGit AbdoKnbGit changed the title fix: replace allowed_tools with claude_args in Claude Code Action wor… fix: replace allowed_tools with claude_args in Claude Code Action workflow Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant