Commit 6ee9cdb
Add a permissions block to ci.yml so the default token can drop to read (#605)
* Add a permissions block to ci.yml so the default token can drop to read
The Netlify preview step is the one consumer of the default token's
write access here; contents:read + pull-requests:write is the same
block lecture-jax/ci.yml already carries. The other workflows either
have blocks or write nothing with GITHUB_TOKEN.
Part of QuantEcon/meta#347 item 4.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Grant actions: read for the cache artifact download
Public-repo API leniency is what lets dawidd6/action-download-artifact
work without the scope today; the grant matches the documented
requirement and the comment publish.yml already carries.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent aacff38 commit 6ee9cdb
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments