From 5a0ce4532a299e6986a33f249ad7d7a4ca71ff93 Mon Sep 17 00:00:00 2001 From: Ivan Savciuc Date: Thu, 16 Nov 2023 18:11:07 +0200 Subject: [PATCH] fix(ci): semgrep job --- .github/workflows/lint.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f8fd0b4e9..ab679613d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,9 +31,13 @@ jobs: semgrep: runs-on: ubuntu-latest if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' + container: + image: returntocorp/semgrep steps: - - uses: actions/checkout@v3 - - uses: returntocorp/semgrep-action@v1 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: semgrep ci --config auto --no-suppress-errors make_lint: runs-on: ubuntu-latest