Skip to content

Commit

Permalink
Add semgrep.yml to this repository
Browse files Browse the repository at this point in the history
This adds a semgrep.yml configuration file to allow code security scanning on our public Gitpod repository.
  • Loading branch information
securitymirco authored and roboquat committed Nov 14, 2022
1 parent 03aae67 commit 45c9b01
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Semgrep
on:
pull_request: {}
push:
branches:
- main
- master
paths:
- .github/workflows/semgrep.yml
schedule:
- cron: '0 0 * * 0'
jobs:
semgrep:
name: Scan
runs-on: ubuntu-20.04
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
container:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- run: semgrep ci

0 comments on commit 45c9b01

Please sign in to comment.