Commit bde112f
authored
chore(governance): stop declaring repository identity in settings.yml (#62)
`probot/settings` applies this file on **every push to the default
branch**, so the four identity
keys it declared are instructions, not documentation. The estate has
already paid for exactly this:
`.github/settings.yml` once read `name: "{{REPO}}"`, GitHub collapsed
the illegal braces to dashes,
the repository renamed itself to `-REPO-` on every push, its old URL
404'd, and it was read as a
deleted repository.
This repo still declared `name`, `description`, `homepage` and
`private`.
The repair is convergence on the source of truth, not new content:
- the header becomes the template's own header, which documents the
incident and the rule
("THIS FILE MUST NEVER DECLARE REPOSITORY IDENTITY");
- the four identity keys are removed; **everything else is unchanged** —
same repository settings,
same 18 labels;
- repository identity and visibility stay set out of band, once, by the
owner.
Verified with the estate's own gate, `scripts/check-no-placeholders.sh`,
whose settings.yml guard
runs in template repos too (that exemption is how the original incident
went unseen). On this
branch the guard reports clean.1 parent 960716f commit bde112f
1 file changed
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
11 | 45 | | |
12 | 46 | | |
13 | 47 | | |
14 | 48 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 49 | | |
20 | 50 | | |
21 | 51 | | |
| |||
0 commit comments