From 500f8ef8a34a369ea9861c1b8ff90f21b81d8188 Mon Sep 17 00:00:00 2001 From: Hrushikesh Deshpande <161167942+hrushikeshdeshpande@users.noreply.github.com> Date: Tue, 21 Apr 2026 15:42:35 -0400 Subject: [PATCH] another fix --- .github/workflows/semgrep.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index 9f0d784..22e4f84 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -2,13 +2,19 @@ on: pull_request: {} schedule: - cron: '0 0 * * 6' +concurrency: + group: semgrep-${{ github.event_name }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true +permissions: + contents: read jobs: semgrep: name: semgrep-oss - runs-on: ubuntu-latest + runs-on: ubuntu-slim container: image: semgrep/semgrep@sha256:500acf49f5e5785aa89af609b983f0427ac8cd08f7e34146277df6cffb002759 # v1.157.0 steps: - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.B0 + - uses: actions/checkout@v5 + with: + fetch-depth: 1 - run: semgrep scan --config=auto -