Skip to content

Commit 800f05c

Browse files
committed
fix: allow gh and git tools in autofix workflow
1 parent b880444 commit 800f05c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/claude-autofix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
3535
github_token: ${{ github.token }}
3636
allowed_bots: "claude"
37-
claude_args: '--max-turns 20'
37+
claude_args: '--max-turns 20 --allowedTools "Read,Edit,Write,Bash(gh api:*),Bash(gh pr view:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git diff:*)"'
3838
prompt: |
3939
Apply the code suggestions from Claude's PR review on PR #${{ github.event.pull_request.number }} in repo ${{ github.repository }}.
4040

0 commit comments

Comments
 (0)