From 3a0e522b54ee0fd459f14230f603bb0f7cd2c701 Mon Sep 17 00:00:00 2001 From: hrushikeshdeshpande <161167942+hrushikeshdeshpande@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:02:38 -0400 Subject: [PATCH] chore(workflow): update semgrep.yml Update the semgrep workflow to always use the "ubuntu-latest" release and on the "trunk" branch. --- .github/workflows/semgrep.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index c821e5a..a8f2387 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -1,18 +1,16 @@ - on: pull_request: {} workflow_dispatch: {} - push: + push: branches: - - main - - master + - trunk schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" name: Semgrep config jobs: semgrep: name: semgrep/ci - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} SEMGREP_URL: https://cloudflare.semgrep.dev @@ -21,5 +19,5 @@ jobs: container: image: returntocorp/semgrep steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: semgrep ci