From e60a418c60abd4b31c719817620b79b21f89bc9f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 27 Mar 2026 14:39:55 -0500 Subject: [PATCH] chore(ci): Adopt zizmor --- .github/workflows/audit.yml | 14 ++++++++++++++ .github/zizmor.yml | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 .github/zizmor.yml diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 77497061..ddbc9c91 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -59,3 +59,17 @@ jobs: with: command: check ${{ matrix.checks }} rust-version: stable + + actions: + runs-on: ubuntu-latest + permissions: + security-events: write + contents: read # only needed for private or internal repos + actions: read # only needed for private or internal repos + steps: + - name: Checkout repository + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + with: + persist-credentials: false + - name: Run zizmor + uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2 diff --git a/.github/zizmor.yml b/.github/zizmor.yml new file mode 100644 index 00000000..45aa9c94 --- /dev/null +++ b/.github/zizmor.yml @@ -0,0 +1,4 @@ +rules: + superfluous-actions: + # https://github.com/zizmorcore/zizmor/issues/1817 + disable: true