Skip to content

Commit b5de2ec

Browse files
committed
Added semgrep.yml
1 parent 075accd commit b5de2ec

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/semgrep.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Semgrep
2+
3+
on:
4+
pull_request: {}
5+
6+
push:
7+
branches: ["master", "main"]
8+
9+
schedule:
10+
- cron: '30 0 1,15 * *'
11+
12+
jobs:
13+
semgrep:
14+
name: Scan
15+
runs-on: ubuntu-latest
16+
container:
17+
image: returntocorp/semgrep
18+
if: (github.actor != 'dependabot[bot]')
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- run: semgrep ci
23+
env:
24+
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}

0 commit comments

Comments
 (0)