Skip to content

Commit

Permalink
Add read permissions to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gracepark authored Oct 23, 2024
1 parent e2a47fa commit b901947
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
build:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [created]

permissions:
contents: read
id-token: write

jobs:
Expand Down

0 comments on commit b901947

Please sign in to comment.