Skip to content

Commit f28047a

Browse files
Nusnussemgrep-bot
andauthored
Add Semgrep CI (#8201)
Co-authored-by: semgrep.dev on behalf of @Nusnus <support@r2c.dev>
1 parent ea5f18d commit f28047a

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/semgrep.yml

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

0 commit comments

Comments
 (0)