Skip to content

Commit 40edf01

Browse files
committed
Minimal Actions workflow permissions
Fixes #116988
1 parent 121b5e2 commit 40edf01

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/nodejs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Node CI
22

33
on: [push]
4+
5+
permissions:
6+
contents: read
7+
48
jobs:
59
build:
610
runs-on: ubuntu-latest

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
publish-npm:
912
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)