From e47b5b52cd181cd6f2de8e318f5c5b1d5db07b65 Mon Sep 17 00:00:00 2001 From: Aleksander Zaruczewski Date: Wed, 8 Nov 2023 14:55:54 +0200 Subject: [PATCH] ci(lint): fix semgrep (#1435) --- .github/workflows/lint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a3640952e..991ea4c1f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,11 +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@v4 with: fetch-depth: 0 - - uses: returntocorp/semgrep-action@v1 + - run: semgrep ci --config auto --no-suppress-errors make_lint: runs-on: ubuntu-latest