From e223bcbccda99497bd70ca534d1785584754236e Mon Sep 17 00:00:00 2001 From: "semgrep.dev on behalf of @AlekKras" Date: Wed, 31 Jan 2024 18:05:21 +0000 Subject: [PATCH] Add Semgrep CI --- .github/workflows/semgrep.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 97ce58c..118c486 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,16 +1,16 @@ -name: Semgrep on: workflow_dispatch: {} pull_request: {} push: branches: - - main - - master + - main + - master paths: - - .github/workflows/semgrep.yml + - .github/workflows/semgrep.yml schedule: - # random HH:MM to avoid a load spike on GitHub Actions at 00:00 - - cron: '18 13 * * *' + # random HH:MM to avoid a load spike on GitHub Actions at 00:00 + - cron: 58 15 * * * +name: Semgrep jobs: semgrep: name: semgrep/ci @@ -19,7 +19,6 @@ jobs: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} container: image: returntocorp/semgrep - if: (github.actor != 'dependabot[bot]') steps: - - uses: actions/checkout@v3 - - run: semgrep ci + - uses: actions/checkout@v3 + - run: semgrep ci