Commit c745749
committed
chore(ci): declare explicit permissions for read-default rollout
The publish-clm.yaml and publish-scaffold.yaml workflows upload release
binaries via curl using the default GITHUB_TOKEN. Once the org-wide flip
to read-default GITHUB_TOKEN lands, the asset upload requests will 403
unless the workflows explicitly declare contents: write.
This narrows the token's effective scope (was implicit write-everything;
becomes contents:write only) without changing happy-path behavior.1 parent e058bfa commit c745749
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
0 commit comments