Skip to content

Commit 921377a

Browse files
authored
explicit permissions for release-drafter integration (#40)
Explicit RW permissions for content and pull requests required, due to repository settings, which grants to workflows only read permissions in the repository for the contents and packages scopes. - RW for content is required for release draft creation (release-drafter). - RW for pull-requests is required for adding labels to PRs (auto-labeler). Signed-off-by: Artem Bortnikov <[email protected]>
1 parent 35238c6 commit 921377a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release-drafter.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
913
jobs:
1014
update_release_draft:
1115
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)