File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Claude Code
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize]
6+ issue_comment :
7+ types : [created]
8+ pull_request_review_comment :
9+ types : [created]
10+
11+ jobs :
12+ claude :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : write # ← REQUIRED so Claude can push fixes/branches
16+ pull-requests : write
17+ issues : write
18+ comments : write
19+
20+ steps :
21+ - name : Checkout repo
22+ uses : actions/checkout@v4
23+
24+ - name : Run Claude Code Action
25+ uses : anthropics/claude-code-action@v1
26+ with :
27+ anthropic_api_key : ${{ secrets.ANTHROPIC_API_KEY }}
28+
29+ # What Claude should do
30+ prompt : |
31+ You are an expert security researcher reviewing changes to wifite2 (a Python WiFi auditing tool).
32+ Review this pull request or comment for:
33+ - bugs
34+ - security issues
35+ - code quality problems
36+ - performance improvements
37+ Focus especially on Python code. Be concise but thorough. If you can fix something, do it.
38+
39+ # ← MODEL GOES HERE (this fixes your error)
40+ claude_args : |
41+ --model claude-3-opus-20240229
42+ --max-turns 8
43+ --temperature 0.2
44+
45+ # Optional but very useful
46+ trigger_phrase : " @claude"
47+ use_sticky_comment : true
48+ include_fix_links : true
49+ track_progress : true
You can’t perform that action at this time.
0 commit comments