name: Release Drafter on: push: branches: - master jobs: update_release_draft: runs-on: ubuntu-latest permissions: # Give the default GITHUB_TOKEN write permission. # https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/ contents: write steps: - uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}