Skip to content

Commit 71dc03e

Browse files
authored
Add GitHub Actions workflow for Claude integration
1 parent 486edf5 commit 71dc03e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/Claude.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Claude
2+
on:
3+
issue_comment:
4+
types: [created]
5+
issues:
6+
types: [assigned]
7+
8+
jobs:
9+
claude:
10+
if: |
11+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
12+
(github.event_name == 'issues' && github.event.action == 'assigned')
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: anthropics/claude-code-action@beta
16+
with:
17+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)