diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 5a8861a..8257ef9 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -32,3 +32,7 @@ permissions: jobs: governance: uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@bd0df9ead7faf0cdfe0e13e7966d91e28d0101d4 + permissions: + actions: read + contents: read + security-events: write diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 747919b..519d0a6 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -14,3 +14,7 @@ jobs: mirror: uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@bd0df9ead7faf0cdfe0e13e7966d91e28d0101d4 secrets: inherit + permissions: + actions: read + contents: read + security-events: write diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 188f89f..fab04d1 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -11,6 +11,7 @@ permissions: read-all jobs: analysis: permissions: + actions: read # A job-level `permissions:` block REPLACES the default grant, so # `contents` must be listed explicitly: the reusable declares # `permissions: contents: read` at workflow_call level, and a reusable diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index 1be37a2..d7e8e73 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -16,6 +16,8 @@ permissions: jobs: scan: permissions: + actions: read + security-events: write contents: read uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@bd0df9ead7faf0cdfe0e13e7966d91e28d0101d4 secrets: inherit diff --git a/.github/workflows/spark-theatre-gate.yml b/.github/workflows/spark-theatre-gate.yml index fef4889..6ac378c 100644 --- a/.github/workflows/spark-theatre-gate.yml +++ b/.github/workflows/spark-theatre-gate.yml @@ -20,3 +20,7 @@ jobs: with: paths: "." enforce_zero_contract: false + permissions: + actions: read + contents: read + security-events: write