Accept multiline input for allowed_tools and disallowed_tools (#168)

This commit is contained in:
Hidetake Iwata
2025-06-13 23:19:36 +09:00
committed by GitHub
parent a8d323af27
commit 67d7753c80
3 changed files with 76 additions and 10 deletions

View File

@@ -347,8 +347,15 @@ 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
```