Skip to content

Commit 5d8aa28

Browse files
committed
fix(ci): grant callers the permissions their reusable workflows declare
1 parent 194ec65 commit 5d8aa28

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/governance.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ permissions:
1616
jobs:
1717
governance:
1818
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@a8f7249c3c5aef1ed6dfa16e637f13dfde815464
19+
permissions:
20+
actions: read
21+
contents: read
22+
security-events: write
1923
ruleset-regression:
2024
name: Ruleset repair regression
2125
runs-on: ubuntu-24.04

‎.github/workflows/main-estate-audit.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ on:
1212
jobs:
1313
call-estate-audit:
1414
uses: hyperpolymath/cicd-suite/.github/workflows/main-estate-audit.yml@feat/cicd-workflow-call
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write

‎.github/workflows/secret-scanner.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ jobs:
2121
secret-scan:
2222
uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@bd0df9ead7faf0cdfe0e13e7966d91e28d0101d4
2323
secrets: inherit
24+
permissions:
25+
actions: read
26+
contents: read
27+
security-events: write

0 commit comments

Comments
 (0)