Skip to content

Commit

Permalink
fix(workflows): missing top-level content.read permissions (#3013)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken committed Mar 28, 2024
1 parent d3d24e2 commit 9278de9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
schedule:
- cron: "0 10 * * *"

permissions:
contents: read

jobs:
test:
if: github.repository == 'nodejs/undici'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
test:
name: Test with Node.js ${{ inputs.node-version }} on ${{ inputs.runs-on }}
Expand Down

0 comments on commit 9278de9

Please sign in to comment.