Skip to content

Commit 8988eb3

Browse files
committed
Add security review workflow
1 parent 7fa02a5 commit 8988eb3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Managed by terraform, do not edit manually
2+
name: Security Review
3+
permissions:
4+
pull-requests: write
5+
contents: read
6+
id-token: write
7+
on:
8+
pull_request:
9+
jobs:
10+
security:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
16+
fetch-depth: 2
17+
- name: Configure AWS credentials
18+
uses: aws-actions/configure-aws-credentials@v4
19+
with:
20+
role-to-assume: arn:aws:iam::${{ secrets.AWS_DEV_ACCOUNT_ID }}:role/security-review-bot
21+
aws-region: us-west-2
22+
- uses: anthropics/claude-code-security-review@0c6a49f1fa56a1d472575da86a94dbc1edb78eda
23+
with:
24+
comment-pr: true
25+
claude-api-key: "github-actions"
26+
claude-model: "us.anthropic.claude-opus-4-6-v1"
27+
run-every-commit: true
28+
env:
29+
CLAUDE_CODE_USE_BEDROCK: "1"
30+
AWS_REGION: "us-west-2"

0 commit comments

Comments
 (0)