Skip to content

Commit

Permalink
explicit permissions for release-drafter integration (#40)
Browse files Browse the repository at this point in the history
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 <artem.bortnikov@telekom.com>
  • Loading branch information
aobort authored Mar 19, 2024
1 parent 35238c6 commit 921377a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
update_release_draft:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 921377a

Please sign in to comment.