Skip to content

Commit 49c362e

Browse files
committed
Add Semgrep CI
1 parent 3f1c715 commit 49c362e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
pull_request: {}
3+
push:
4+
branches:
5+
- main
6+
- master
7+
name: Semgrep
8+
jobs:
9+
semgrep:
10+
name: Scan
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: returntocorp/semgrep-action@v1
15+
with:
16+
auditOn: push
17+
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
18+
publishDeployment: 411
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)