File tree Expand file tree Collapse file tree 3 files changed +6
-111
lines changed
Expand file tree Collapse file tree 3 files changed +6
-111
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 types : [created]
66 pull_request_review_comment :
77 types : [created]
8- issues :
9- types : [opened, assigned]
108 pull_request_review :
119 types : [submitted]
10+ issues :
11+ types : [opened, assigned]
1212
1313jobs :
1414 claude :
15+ # Run only when a comment or PR/issue body contains @claude
1516 if : |
1617 (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
1718 (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
@@ -23,10 +24,11 @@ jobs:
2324 pull-requests : read
2425 issues : read
2526 id-token : write
26- actions : read # Required for Claude to read CI results on PRs
27+ actions : read
28+
2729 steps :
2830 - name : Checkout repository
29- uses : actions/checkout@v6
31+ uses : actions/checkout@v4
3032 with :
3133 fetch-depth : 1
3234
3537 uses : anthropics/claude-code-action@v1
3638 with :
3739 claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
38-
39- # This is an optional setting that allows Claude to read CI results on PRs
40- additional_permissions : |
41- actions: read
42-
43- # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.
44- # prompt: 'Update the pull request description to include a summary of changes.'
45-
46- # Optional: Add claude_args to customize behavior and configuration
47- # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
48- # or https://code.claude.com/docs/en/cli-reference for available options
49- # claude_args: '--allowed-tools Bash(gh pr:*)'
50-
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments