Add Semgrep CI

This commit is contained in:
semgrep.dev on behalf of @moul 2022-05-18 18:23:41 +00:00 committed by semgrep.dev
parent 773b7d5a8b
commit 73926212d5

21
.github/workflows/semgrep.yml vendored Normal file
View file

@ -0,0 +1,21 @@
on:
pull_request: {}
push:
branches:
- master
paths:
- .github/workflows/semgrep.yml
schedule:
- cron: '0 0 * * 0'
name: Semgrep
jobs:
semgrep:
name: Scan
runs-on: ubuntu-20.04
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v3
- run: semgrep ci