Skip to content

Commit bbda2d0

Browse files
committed
Claude Code assistant
1 parent 8001e39 commit bbda2d0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/claude.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Claude Code
1+
name: Claude PR Assistant
22

33
on:
44
issue_comment:
@@ -11,12 +11,12 @@ on:
1111
types: [submitted]
1212

1313
jobs:
14-
claude:
14+
claude-code-action:
1515
if: |
1616
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
1717
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
1818
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
19-
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
19+
(github.event_name == 'issues' && contains(github.event.issue.body, '@claude'))
2020
runs-on: ubuntu-latest
2121
permissions:
2222
contents: read
@@ -29,9 +29,8 @@ jobs:
2929
with:
3030
fetch-depth: 1
3131

32-
- name: Run Claude Code
33-
id: claude
32+
- name: Run Claude PR Action
3433
uses: anthropics/claude-code-action@beta
3534
with:
3635
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37-
36+
timeout_minutes: "60"

0 commit comments

Comments
 (0)