File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Claude PR Assistant - Authorized Users Only
2+
3+ on :
4+ issue_comment :
5+ types : [created]
6+ pull_request_review_comment :
7+ types : [created]
8+ issues :
9+ types : [opened, assigned]
10+ pull_request_review :
11+ types : [submitted]
12+
13+ jobs :
14+ claude-code-action :
15+ # Only respond to @claude mentions from grll
16+ if : |
17+ (
18+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
19+ (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
20+ (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
21+ (github.event_name == 'issues' && contains(github.event.issue.body, '@claude'))
22+ ) && github.actor == 'grll'
23+ runs-on : ubuntu-latest
24+ permissions :
25+ contents : read
26+ pull-requests : read
27+ issues : read
28+ id-token : write
29+ steps :
30+ - name : Checkout repository
31+ uses : actions/checkout@v4
32+ with :
33+ fetch-depth : 1
34+
35+ - name : Run Claude PR Action
36+ uses : grll/claude-code-action@beta
37+ with :
38+ use_oauth : true
39+ claude_access_token : ${{ secrets.CLAUDE_ACCESS_TOKEN }}
40+ claude_refresh_token : ${{ secrets.CLAUDE_REFRESH_TOKEN }}
41+ claude_expires_at : ${{ secrets.CLAUDE_EXPIRES_AT }}
42+ timeout_minutes : " 60"
You can’t perform that action at this time.
0 commit comments