Skip to content

Commit eb20bfe

Browse files
committed
Add Semgrep CI
1 parent c18f798 commit eb20bfe

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/semgrep.yml

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

0 commit comments

Comments
 (0)