File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments