Skip to content

Commit cbfd349

Browse files
fix(ci): repair the permissions block indentation (#126)
The `permissions:` block added by the caller-permission campaign was indented one level too deep (appended at job-child indent + 2), which makes the whole workflow file invalid YAML (`mapping values are not allowed here`) and stops the workflow loading at all. This dedents the block to job-key level — keeping the grants — and validates the file parses before committing.
1 parent 5f0bf08 commit cbfd349

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/governance.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +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
38+
permissions:
39+
actions: read
40+
contents: read
41+
security-events: write

‎.github/workflows/mirror.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
mirror:
1717
uses: hyperpolymath/standards/.github/workflows/mirror-reusable.yml@84355587cb2a1f86e6882de83514a32db2646e7a
1818
secrets: inherit
19-
permissions:
20-
actions: read
21-
contents: read
22-
security-events: write
19+
permissions:
20+
actions: read
21+
contents: read
22+
security-events: write

0 commit comments

Comments
 (0)