Skip to content

Commit

Permalink
Add Semgrep CI (#126)
Browse files Browse the repository at this point in the history
Co-authored-by: semgrep.dev on behalf of @kurt-r2c <support@r2c.dev>
  • Loading branch information
rquadling and semgrep-bot authored Oct 25, 2022
1 parent 9e996ce commit 839f874
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
pull_request: {}
push:
branches:
- main
- 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

0 comments on commit 839f874

Please sign in to comment.