Skip to content

Commit 2805b84

Browse files
Merge pull request #5764 from Hacker0x01/martijnrusschen-patch-5
Create security.yml
2 parents fb360ed + c8b44b8 commit 2805b84

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/security.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Security Review
2+
3+
permissions:
4+
pull-requests: write # Needed for leaving PR comments
5+
contents: read
6+
7+
on:
8+
pull_request:
9+
10+
jobs:
11+
security:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
17+
fetch-depth: 2
18+
19+
- uses: anthropics/claude-code-security-review@main
20+
with:
21+
comment-pr: true
22+
claude-api-key: ${{ secrets.CLAUDE_API_KEY }}

0 commit comments

Comments
 (0)