Skip to content

Commit cdaa079

Browse files
authored
chore(labels): adopt org reusable label-sync (#29)
* chore(labels): adopt org reusable label-sync * chore(labels): set top-level permissions, re-pin reusable to fixed SHA Adds a top-level permissions: {} (least-privilege default, clears Checkov CKV2_GHA_1) and re-pins reusable-label-sync to the fixed org SHA 08f06af (JSON merge output; prevents hex-color coercion). Rewords the header comment so each parenthetical closes on its own line.
1 parent 879f6b3 commit cdaa079

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/label-sync.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Sync this repo's labels to the org standard in modeled-information-format/.github
2+
# (the labels.yml source of truth), plus an optional repo-local overlay
3+
# (.github/labels.yml).
4+
name: Sync labels
5+
on:
6+
push:
7+
branches: [main]
8+
paths: ['.github/labels.yml', '.github/workflows/label-sync.yml']
9+
schedule:
10+
- cron: '0 6 * * 1' # weekly drift correction
11+
workflow_dispatch: {}
12+
permissions: {}
13+
jobs:
14+
labels:
15+
permissions:
16+
contents: read
17+
issues: write
18+
uses: modeled-information-format/.github/.github/workflows/reusable-label-sync.yml@08f06af29dfb1877e2dcfaaa90bf773a63261139
19+
with:
20+
local-labels: .github/labels.yml # merged over the org set; absent file = org set only

0 commit comments

Comments
 (0)