Skip to content

Commit c19a86e

Browse files
fix(ci): repair the permissions block indentation (#557)
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 e78aa60 commit c19a86e

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
@@ -36,7 +36,7 @@ permissions:
3636
jobs:
3737
governance:
3838
uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@da2c748aad55c1a1dcba00b60fe4a35017bc6540
39-
permissions:
40-
actions: read
41-
contents: read
42-
security-events: write
39+
permissions:
40+
actions: read
41+
contents: read
42+
security-events: write

‎.github/workflows/mirror.yml‎

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

0 commit comments

Comments
 (0)