From eb6e2c99c747474875bf8577dd42fb6532596d38 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Thu, 31 Oct 2024 17:55:19 -0400 Subject: [PATCH] fix(ci): move the permissions setting to jobs Refs: https://github.com/woodruffw/zizmor/pull/95 Signed-off-by: Mike Fiedler --- .github/workflows/zizmor.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 08294a4a75a4..af9d73227cc7 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -7,14 +7,12 @@ on: pull_request: branches: ["*"] -permissions: - contents: read - jobs: zizmor: name: Zizmor latest via Cargo runs-on: ubuntu-latest permissions: + contents: read security-events: write steps: - name: Checkout repository