Skip to content

Commit b5638a0

Browse files
committed
fix(ci): grant callers the permissions their reusable workflows declare
1 parent 751747b commit b5638a0

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/governance.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ permissions:
3535
jobs:
3636
governance:
3737
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a
38+
permissions:
39+
actions: read
40+
contents: read
41+
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)