From 1ade50f0a80dccac97a002708057d37c46836021 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Fri, 1 Nov 2024 11:56:26 -0400 Subject: [PATCH] fix(ci): allow zizmor to read actions in private (#17017) --- .github/workflows/zizmor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index af9d73227cc7..4aeac79aae94 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -12,8 +12,10 @@ jobs: name: Zizmor latest via Cargo runs-on: ubuntu-latest permissions: - contents: read security-events: write + # required for workflows in private repositories + contents: read + actions: read steps: - name: Checkout repository uses: actions/checkout@v4