Skip to content

Commit 096b7a4

Browse files
authored
chore(CI): specify minimal permissions for issue-labeler (#593)
1 parent 97b02ac commit 096b7a4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pr-label.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- opened
77
- edited
88

9+
permissions:
10+
issues: write
11+
contents: read
12+
913
jobs:
1014
change-labeling:
1115
name: Labeling for changes

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ on:
1919
required: true
2020
default: 'main'
2121

22-
permissions:
23-
id-token: write
24-
2522
jobs:
2623
release:
2724
name: Release

0 commit comments

Comments
 (0)