From 771d93b747d1d3458cc63572601cee2335ff5d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B3nica=20Pastor?= Date: Wed, 17 Apr 2024 13:26:16 +0200 Subject: [PATCH] Update semgrep.yml --- .github/workflows/semgrep.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 77954d2..54c0b69 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -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 @@ -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 }} @@ -24,4 +27,8 @@ jobs: uses: github/codeql-action/upload-sarif@v2 with: sarif_file: semgrep.sarif - if: always() \ No newline at end of file + if: always() + + + +