anthropics / anthropics/claude-code-action
Allowed tools from the example in the README do not work
- Ngôn ngữ chính
- TypeScript
- Star
- 8.9k
- Fork
- 2.1k
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 10
Mô tả
**Describe the bug**
Allowed tools from the example in the README do not work
**To Reproduce**
Add this:
```
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@beta
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
model: claude-opus-4-20250514
allowed_tools:
- Bash(corepack yarn check)
- Bash(corepack yarn)
- Bash(corepack yarn add:*)
- Bash(gh run:*)
```
Claude Code will complaint it does not have access to these tools when asked.
**Expected behavior**
It should happily run those.
**Additional context**
When I switched to this format, it did work: `allowed_tools: Bash(corepack yarn check),Bash(corepack yarn),Bash(corepack yarn add:*),Bash(gh run:*)`
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.