Skip to content

Fix actions' permissions (#2) #2

Fix actions' permissions (#2)

Fix actions' permissions (#2) #2

name: Release Drafter
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-drafter:
name: Release Drafter
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
with:
disable-releaser: github.ref != 'refs/heads/main'
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}