Skip to content

Commit 1574c6a

Browse files
Hristo HristovHristo Hristov
authored andcommitted
fix: add permissions when missing
1 parent 739cd15 commit 1574c6a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
jobs:
2424
analyze:
2525
name: Analyze
26+
permissions:
27+
contents: read
28+
security-events: write
2629
runs-on: ubuntu-latest
2730

2831
strategy:

.github/workflows/nodejs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Node.js CI
22
permissions:
33
contents: read
4+
checks: write
5+
pull-requests: write
46

57
on:
68
push:

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
release:
44
types: [created]
55

6+
permissions:
7+
contents: read
8+
packages: write
9+
610
jobs:
711
build:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)