[llvm] [Workflows] Add Zizmor check (PR #187905)

Carlo Cabrera via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 21 21:48:39 PDT 2026


================
@@ -0,0 +1,28 @@
+name: Zizmor GitHub Actions Analysis
+
+on:
+  push:
+    branches: ["main"]
+    paths: [".github/**"]
+  pull_request:
+    branches: ["**"]
+    paths: [".github/**"]
+
+permissions:
+  contents: read
+
+jobs:
+  zizmor:
+    if: github.repository_owner == 'llvm'
+    name: Run zizmor
+    runs-on: ubuntu-24.04
+    permissions:
+      security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
+      contents: read
+      actions: read
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout at de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
----------------
carlocab wrote:

Well, at least we know it works.

We can either disable this check with configuration or just add it everywhere. What's your preference, @boomanaiden154?

https://github.com/llvm/llvm-project/pull/187905


More information about the llvm-commits mailing list