Commit 1ed5da9
fix(ci): close the governance gate — SPDX, permissions, SHA pins, reusable bump (#26)
The governance gate is all-jobs-must-pass, so these ship as one commit;
individually none of them turns the repo green.
* SPDX line-1 header and a top-level `permissions:` block on every
workflow file (the two `Workflow security linter` checks).
* Every `uses:` tag reference resolved to a full 40-hex commit SHA. This
satisfies the linter and also the repository's own
`sha_pinning_required` Actions policy, which refuses `@v4` at parse
time — a refusal that produces no check run at all.
* `hypatia-scan.yml` now grants `security-events: write`. This is not
cosmetic and is not separable from the pin bump below: at HEAD the
reusable declares `security-events: write` where the old pin declared
`read`, and a called workflow cannot escalate beyond its caller's
grant. Bumping the pin without this would fail at parse time.
* The three reusables watched by the staleness gate (governance,
hypatia-scan, scorecard) advanced to standards HEAD, which is 62
commits ahead of the false-green cache fix and includes the
deny-list-negative fix from standards#524.
`mirror-reusable` and `secret-scanner-reusable` are deliberately left on
their current pins: the staleness gate does not watch them, so they are
not holding anything red, and bumping them carries unrelated risk.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6e6dfff commit 1ed5da9
2 files changed
Lines changed: 10 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 8 | + | |
| 9 | + | |
17 | 10 | | |
18 | | - | |
19 | | - | |
| 11 | + | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
23 | | - | |
| 15 | + | |
24 | 16 | | |
| 17 | + | |
25 | 18 | | |
26 | 19 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
| 20 | + | |
0 commit comments