Commit 47ac00d
fix(ci): scope wiki-sync's contents: write to the job that pushes
Hypatia WH002 flagged the top-level `permissions: contents: write` on
wiki-sync.yml. The top level is now `contents: read`, and the single
`sync` job carries `contents: write`, because scripts/wiki-sync.sh does
push to the wiki with GITHUB_TOKEN. Behaviour is unchanged; the grant is
no longer inherited by any job added later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QYY8Gp4v4x2J7iSNn1vZ571 parent 826ef62 commit 47ac00d
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
| |||
0 commit comments