Skip to content

Commit 3370540

Browse files
authored
Add Claude Code Action workflow for PR reviews
1 parent a4ddb2c commit 3370540

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/claude.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Claude Code
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
jobs:
8+
claude:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v4
14+
15+
- name: Run Claude Code Action
16+
uses: anthropics/claude-code-action@v1
17+
with:
18+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
19+
20+
# What Claude should do
21+
prompt: |
22+
Review this pull request for:
23+
- bugs
24+
- security issues
25+
- code quality problems
26+
Focus especially on Python code in wifite2.
27+
28+
# Optional but useful
29+
model: claude-3-opus-20240229

0 commit comments

Comments
 (0)