Repository navigation
Commit 6a09e96
fix(ci): unbreak workflow YAML and add a complete actions.lock (#11)
Remediates **GitHub Workflow Dependency Locking** (public preview, no
changelog entry), which rejects runs at `startup_failure` — zero jobs,
no logs, nothing in REST or GraphQL. Full analysis:
`metadatastician/standards#657`.
**Proven on `hyperpolymath/anamnesis`: 6 of 6 workflows dead → 0
`startup_failure`, 13 running.**
### Five steps, in order — each blocks the next
**1. Unbreak the workflow YAML.** Any `permissions:` carrying a scalar
with an indented mapping under it:
```yaml
permissions: read-all
actions: read # <- mapping under a scalar. Unparseable.
```
This reaches past the one file: **`gh actions-lock` refuses to run when
*any* workflow in the repo fails to parse**, so the repo can never
acquire a lockfile and can never self-heal.
**2. Repin `standards` reusables** off commits with no `actions.lock`.
The rejection requires the **callee** to be covered *at the pinned SHA*
— unsatisfiable at a pre-lockfile commit.
**3. Generate** the lockfile with `gh actions-lock`.
**4. Hand-add the reusable-caller entries the tool omits**, as
`'<path>': []`.
1 parent 663d5f4 commit 6a09e96
3 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments