Skip to content

Fix actions' permissions #340

Fix actions' permissions

Fix actions' permissions #340

name: Release Drafter
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
update_release_draft:
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 }}