forked from derv82/wifite2
-
Notifications
You must be signed in to change notification settings - Fork 288
46 lines (39 loc) · 1.26 KB
/
Copy pathclaude.yml
File metadata and controls
46 lines (39 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
claude:
if: ${{ secrets.ANTHROPIC_API_KEY != '' && vars.CLAUDE_CODE_ENABLED != 'false' }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
pull-requests: write
issues: write
steps:
- name: Checkout repo
uses: actions/checkout@v6.0.2
- name: Run Claude Code Action
uses: anthropics/claude-code-action@v1
continue-on-error: true
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# What Claude should do
prompt: |
You are an expert security researcher reviewing changes to wifite2 (a Python WiFi auditing tool).
Review this pull request or comment for:
- bugs
- security issues
- code quality problems
- performance improvements
Focus especially on Python code. Be concise but thorough. If you can fix something, do it.
claude_args: |
--max-turns 8
# Optional but very useful
trigger_phrase: "@claude"
use_sticky_comment: true
include_fix_links: true
track_progress: true