File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,16 @@ jobs:
1919 (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2020 runs-on : ubuntu-latest
2121 permissions :
22- contents : write # Allow creating branches/commits
23- pull-requests : write # Allow pushing to PR branches
24- issues : write # Allow updating issue comments
22+ contents : read
23+ pull-requests : read
24+ issues : read
2525 id-token : write
26- actions : read # Required for Claude to read CI results on PRs
26+ actions : read # Required for Claude to read CI results on PRs
2727 steps :
2828 - name : Checkout repository
2929 uses : actions/checkout@v4
3030 with :
31- fetch-depth : 0 # Full history for git operations
31+ fetch-depth : 1
3232
3333 - name : Run Claude Code
3434 id : claude
4545
4646 # Optional: Add claude_args to customize behavior and configuration
4747 # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48- # or https://docs .claude.com/en/ docs/claude-code /cli-reference for available options
48+ # or https://code .claude.com/docs/en /cli-reference for available options
4949 # claude_args: '--allowed-tools Bash(gh pr:*)'
5050
You can’t perform that action at this time.
0 commit comments