From 9e5dd4007452e4ffc1a1f5f64d3186730b5b9112 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Wed, 27 Nov 2024 03:45:53 +0800 Subject: [PATCH] actionlint: stop suppressing `zizmor` exit code `zizmor` no longer exits with an error when passed `--format sarif`. --- .github/workflows/actionlint.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index f6b30e040d844..162a7f5e3ade1 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -55,9 +55,7 @@ jobs: rmdir "$HOMEBREW_TAP_REPOSITORY" ln -vs "$GITHUB_WORKSPACE" "$HOMEBREW_TAP_REPOSITORY" - - run: | - # NOTE: exit code intentionally suppressed here - zizmor --format sarif . > results.sarif || true + - run: zizmor --format sarif . > results.sarif - name: Upload SARIF file uses: actions/upload-artifact@v4