Skip to content

Commit 4864959

Browse files
committed
Add Semgrep CI
1 parent 3a26170 commit 4864959

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
pull_request: {}
3+
push:
4+
branches:
5+
- develop
6+
paths:
7+
- .github/workflows/semgrep.yml
8+
schedule:
9+
- cron: '0 0 * * 0'
10+
name: Semgrep
11+
jobs:
12+
semgrep:
13+
name: Scan
14+
runs-on: ubuntu-20.04
15+
env:
16+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
17+
container:
18+
image: returntocorp/semgrep
19+
steps:
20+
- uses: actions/checkout@v3
21+
- run: semgrep ci

0 commit comments

Comments
 (0)