From 476a90b14898d43782cadd7cc69a836929816ad6 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Mon, 21 Sep 2026 01:01:57 +0000 Subject: [PATCH] fix(ci): grant callers the permissions their reusable workflows declare --- .github/workflows/mirror.yml | 4 ++++ .github/workflows/scorecard.yml | 1 + .github/workflows/secret-scanner.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index e3965f1..d88bd3a 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -16,3 +16,7 @@ jobs: mirror: uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a secrets: inherit + permissions: + actions: read + contents: read + security-events: write diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index a88f43c..8365317 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -14,6 +14,7 @@ jobs: analysis: uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a permissions: + actions: read contents: read security-events: write id-token: write diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index 72af7c8..fc2bf44 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -19,6 +19,7 @@ permissions: jobs: scan: permissions: + security-events: write contents: read pull-requests: write actions: read