From 2477e13b3f6fcf52a7aacb726aac7023d8037408 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 13 May 2025 00:36:31 +0800 Subject: [PATCH] GHA CI: update zizmor rules ID zizmor 1.7.0 has changed the ID. https://docs.zizmor.sh/release-notes/#v170 PR #22684. --- .github/workflows/ci_file_health.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_file_health.yaml b/.github/workflows/ci_file_health.yaml index 48bc52f59..1eab10eb4 100644 --- a/.github/workflows/ci_file_health.yaml +++ b/.github/workflows/ci_file_health.yaml @@ -52,13 +52,13 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pip install zizmor - IGNORE_RULEID='(.ruleId != "template-injection") - and (.ruleId != "unpinned-uses")' - IGNORE_ID='(.id != "template-injection") - and (.id != "unpinned-uses")' + IGNORE_RULEID='(.ruleId != "zizmor/template-injection") + and (.ruleId != "zizmor/unpinned-uses")' + IGNORE_ID='(.id != "zizmor/template-injection") + and (.id != "zizmor/unpinned-uses")' zizmor \ --format sarif \ - --pedantic \ + --persona auditor \ ./ \ | jq "(.runs[].results |= map(select($IGNORE_RULEID))) | (.runs[].tool.driver.rules |= map(select($IGNORE_ID)))" \