forked from awslabs/generative-ai-cdk-constructs
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 875 Bytes
/
semgrep.yml
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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: semgrep
on:
pull_request: {}
workflow_dispatch: {}
push:
branches:
- main
schedule:
- cron: 20 17 * * *
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
security-events: write
actions: read
if: (github.actor != 'dependabot[bot]')
steps:
- name: Checkout project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Run Semgrep CI
run: semgrep scan --verbose --json --output=semgrep.json
- name: Store Semgrep as Artifact
uses: actions/upload-artifact@18bf333cd2249fbbbdb605fd9d9ed57efd7adf34
with:
name: semgrep.json
path: semgrep.json
container:
image: semgrep/semgrep