Skip to content

Commit 179323e

Browse files
authored
Add permissions to workflows (#13)
1 parent a2f1273 commit 179323e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
paths:
77
- package.json
88

9+
permissions:
10+
contents: write
11+
pull-requests: read
12+
id-token: write
13+
914
jobs:
1015
build_and_publish:
1116
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
test-node:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)