Skip to content

Commit 1c1307f

Browse files
Merge pull request #5640 from Hacker0x01/add-claude-github-actions-1747937482085
Add Claude Code GitHub Workflow
2 parents b72d0e3 + d72065a commit 1c1307f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/claude.yml renamed to .github/workflows/claude.yml

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

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

1313
jobs:
14-
claude-code-action:
14+
claude:
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'))
19+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
2020
runs-on: ubuntu-latest
2121
permissions:
2222
contents: read
@@ -29,8 +29,9 @@ jobs:
2929
with:
3030
fetch-depth: 1
3131

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

0 commit comments

Comments
 (0)