Skip to content

Commit a0fcb6a

Browse files
committed
feat: add allowed tools and permissions for Claude fixer
- Added claude_args to restrict tools to: npm, git, gh pr commands, Read, Edit, Write, Grep, Glob - Added actions: read permission to allow Claude to check CI results - Added additional_permissions parameter for Claude Code Action This ensures Claude has the necessary tools to: - Run npm install and npm test - Make git commits with fixes - Query PR information via gh CLI - Read/edit/write files for code fixes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Lars Trieloff <[email protected]>
1 parent 08f89ed commit a0fcb6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/claude-renovate-fixer.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ permissions:
99
pull-requests: write
1010
issues: write
1111
id-token: write
12+
actions: read # Allow reading CI results
1213

1314
jobs:
1415
claude-fix:
@@ -23,6 +24,9 @@ jobs:
2324
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
2425
github_token: ${{ secrets.ADOBE_BOT_GITHUB_TOKEN }}
2526
allowed_bots: "renovate"
27+
additional_permissions: |
28+
actions: read
29+
claude_args: '--allowed-tools "Bash(npm:*),Bash(git:*),Bash(gh pr:*),Read,Edit,Write,Grep,Glob"'
2630
prompt: |
2731
You are helping to automatically fix issues in Renovate dependency update PRs for the helix-cli project.
2832

0 commit comments

Comments
 (0)