]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
Add zizmor GH actions workflow
authorYurii Motov <yurii.motov.monte@gmail.com>
Fri, 17 Apr 2026 13:55:22 +0000 (15:55 +0200)
committerYurii Motov <yurii.motov.monte@gmail.com>
Fri, 17 Apr 2026 13:55:22 +0000 (15:55 +0200)
.github/workflows/zizmor.yml [new file with mode: 0644]

diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml
new file mode 100644 (file)
index 0000000..2d6300c
--- /dev/null
@@ -0,0 +1,23 @@
+name: GitHub Actions Security Analysis with zizmor
+
+on:
+  push:
+    branches:
+      - main
+  workflow_dispatch:
+
+permissions: {}
+
+jobs:
+  zizmor:
+    name: Run zizmor
+    runs-on: ubuntu-latest
+    permissions:
+      security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+        with:
+          persist-credentials: false
+      - name: Run zizmor
+        uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3