Skip to content

Commit

Permalink
Set permissions for release drafter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
avdv committed Jul 12, 2024
1 parent c8a0401 commit 0739649
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,18 @@ on:
# pull_request_target:
# types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
Expand Down

0 comments on commit 0739649

Please sign in to comment.