Skip to content

Commit 4d43bf4

Browse files
mmckyclaude
andcommitted
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>
1 parent e802fe2 commit 4d43bf4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on: [pull_request]
33
jobs:
44
preview:
55
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.2xlarge/image=quantecon_ubuntu2404/volume=80gb/spot=false"
6+
permissions:
7+
contents: read
8+
pull-requests: write
69
steps:
710
- uses: actions/checkout@v7
811
with:

0 commit comments

Comments
 (0)