Skip to content

Commit f150d6d

Browse files
committed
Set workflow permissions
1 parent def89e2 commit f150d6d

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
schedule:
55
- cron: '0 21 * * 4'
66

7+
permissions:
8+
contents: read
9+
security-events: write
10+
711
jobs:
812
CodeQL-Build:
913

.github/workflows/label_new_issues.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
issues:
44
types: [opened]
55

6+
permissions:
7+
issues: write
8+
69
jobs:
710
add-label:
811
runs-on: ubuntu-latest

.github/workflows/npm-debug.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
release:
77
types: [published]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
publish-npm:
1114
runs-on: ubuntu-latest

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
release:
88
types: [published]
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
publish-npm:
1215
runs-on: ubuntu-latest

.github/workflows/stale.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
schedule:
44
- cron: '30 8 * * *'
55

6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
610
jobs:
711
stale:
812
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)