]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/checksrc: add auditor-level zizmor (warning-only)
authorViktor Szakats <commit@vsz.me>
Thu, 21 May 2026 17:09:35 +0000 (19:09 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 21 May 2026 20:17:34 +0000 (22:17 +0200)
CI time cost is 1s.

It may replace existing pedantic check, if this level isn't bringing
false-positives or annoyance. Officially it's not meant for CI, but curl
has been passing this in the last couple of months when checked locally.

Closes #21718

.github/workflows/checksrc.yml

index c05a48d6a0a49fbbe673965984452c63428cac57..18e9f1ba65c000bb6ec7825f9abda92825ebc1bc 100644 (file)
@@ -165,6 +165,13 @@ jobs:
           eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
           zizmor --persona pedantic .github/workflows/*.yml .github/dependabot.yml
 
+      - name: 'zizmor GHA (auditor, warning-only)'
+        env:
+          GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
+        run: |
+          eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+          zizmor --persona auditor .github/workflows/*.yml .github/dependabot.yml || true
+
       - name: 'actionlint'
         run: |
           eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"