# Drafts release notes from merged PRs when you create a release. # Install: add a Release Drafter config (see below), then create a release on GitHub; # this workflow will update the draft with categorized PRs. name: Release Drafter on: push: branches: [main, master] workflow_dispatch: permissions: contents: read pull-requests: write jobs: update_release_draft: runs-on: ubuntu-latest steps: - name: Draft Release uses: release-drafter/release-drafter@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}