Skip to content

Commit

Permalink
Merge pull request #123 from mpast/chore-update-semgrep-scanning
Browse files Browse the repository at this point in the history
Update semgrep.yml
  • Loading branch information
mpast authored Apr 17, 2024
2 parents 82b8548 + 771d93b commit 30cfe57
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
workflow_dispatch: {}
push:
branches: ["master", "main"]
schedule:
- cron: '30 15 */15 * *' # Sets Semgrep to scan every 15 days.

jobs:
semgrep:
name: semgrep/ci
Expand All @@ -15,7 +18,7 @@ jobs:

if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: semgrep ci --sarif > semgrep.sarif
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
Expand All @@ -24,4 +27,8 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: semgrep.sarif
if: always()
if: always()




0 comments on commit 30cfe57

Please sign in to comment.