Skip to content

Commit

Permalink
Minimal Actions workflow permissions
Browse files Browse the repository at this point in the history
Fixes #116988
  • Loading branch information
peterbe committed Aug 9, 2024
1 parent 121b5e2 commit 40edf01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Node CI

on: [push]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [created]

permissions:
contents: read

jobs:
publish-npm:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 40edf01

Please sign in to comment.