Skip to content

Commit

Permalink
Merge pull request #29 from github/116988-minimal-actions-workflow-pe…
Browse files Browse the repository at this point in the history
…rmissions

Minimal Actions workflow permissions
  • Loading branch information
peterbe authored Aug 15, 2024
2 parents 121b5e2 + 40edf01 commit f7e5bc7
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 f7e5bc7

Please sign in to comment.