Skip to content

Commit a49039d

Browse files
committed
fix: permissions for claude code calls
1 parent 9722d08 commit a49039d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/resource-request.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ jobs:
6363
uses: anthropics/claude-code-action@v1
6464
with:
6565
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
66-
allowed_tools: "Bash,Read,Edit,Write,WebSearch,WebFetch"
67-
max_turns: "60"
66+
claude_args: "--allowedTools Bash,Read,Edit,Write,WebSearch,WebFetch --max-turns 60"
6867
prompt: |
6968
You are implementing a new Codify resource requested by the community.
7069
@@ -198,8 +197,7 @@ jobs:
198197
uses: anthropics/claude-code-action@v1
199198
with:
200199
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
201-
allowed_tools: "Bash,Read,Edit,Write"
202-
max_turns: "30"
200+
claude_args: "--allowedTools Bash,Read,Edit,Write --max-turns 30"
203201
prompt: |
204202
The integration tests for the newly generated resource failed on Linux (ubuntu-latest).
205203
@@ -297,8 +295,7 @@ jobs:
297295
uses: anthropics/claude-code-action@v1
298296
with:
299297
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
300-
allowed_tools: "Bash,Read,Edit,Write"
301-
max_turns: "30"
298+
claude_args: "--allowedTools Bash,Read,Edit,Write --max-turns 30"
302299
prompt: |
303300
The integration tests for the newly generated resource failed on macOS (macos-latest).
304301

0 commit comments

Comments
 (0)