From 1cc2d3d6c97cee7f077463779596082165403212 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:23 +0000 Subject: [PATCH] fix(ci): grant callers the permissions their reusable workflows declare --- .github/workflows/governance.yml | 4 ++++ .github/workflows/secret-scanner.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index faff36b..3c23612 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -37,3 +37,7 @@ permissions: jobs: governance: uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@fcb566cfb8a86cea2d3666bf65a4f177a49b1313 + permissions: + actions: read + contents: read + security-events: write diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index 66890b6..e0ff821 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -22,3 +22,7 @@ jobs: secret-scan: uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@fcb566cfb8a86cea2d3666bf65a4f177a49b1313 secrets: inherit + permissions: + actions: read + contents: read + security-events: write