fix - allowed and disallowed tools ignored in agent mode (#424)

This commit is contained in:
Matthew Burke
2025-08-08 16:34:55 -05:00
committed by GitHub
parent bc423b47f5
commit 8a5d751740
4 changed files with 84 additions and 16 deletions

View File

@@ -207,15 +207,8 @@ Claude does **not** have access to execute arbitrary Bash commands by default. I
```yaml
- uses: anthropics/claude-code-action@beta
with:
allowed_tools: |
Bash(npm install)
Bash(npm run test)
Edit
Replace
NotebookEditCell
disallowed_tools: |
TaskOutput
KillTask
allowed_tools: "Bash(npm install),Bash(npm run test),Edit,Replace,NotebookEditCell"
disallowed_tools: "TaskOutput,KillTask"
# ... other inputs
```