Commit 749da92
authored
ci: adopt deny-all top-level workflow permissions (#155)
Sets each workflow's top-level `permissions:` to `{}` (deny-all) and
moves the previously top-level grants into the specific jobs that
inherited them. **Effective permissions are unchanged for every job** —
this just makes the grants explicit per job so a newly-added job can't
silently inherit broad scopes.
Behavior-preserving mechanical change (validated: all touched workflows
still parse; per-job effective scopes identical). Workflows whose jobs
inherit the org default are left untouched for a manual per-job pass.
_Flagged by github-maintenance Workflow Permissions Audit._1 parent bdd67d1 commit 749da92
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
| 136 | + | |
0 commit comments