Skip to content

Commit

Permalink
chore(ci): fix release drafter permissions (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm authored Oct 18, 2024
1 parent bdffae5 commit 4b2c911
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

jobs:
update_release_draft:
permissions:
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
name: Release Drafter
steps:
Expand All @@ -33,11 +38,5 @@ jobs:
- name: Run Release Drafter
uses: release-drafter/release-drafter@v6.0.0
with:
tag: ${{ steps.version.outputs.tag }}
name: ${{ steps.version.outputs.name }}
prerelease: true
latest: false
publish: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4b2c911

Please sign in to comment.