release_draft.yml creates or updates a draft GitHub release from merged pull
request metadata and .github/release_template.md.
Generated only when do_releases is enabled.
mainworkflow_dispatchuses: athackst/ci/.github/workflows/release_drafter.yml@main
See release_drafter.yml for the reusable
workflow contract.
The release draft job needs:
contents: write to create or update draft releases.pull-requests: read to resolve changelog and version metadata.The persist-draft-id job needs:
actions: write to persist DRAFT_RELEASE_ID as a repository variable.vars.DRAFT_RELEASE_ID into the reusable Release Draft workflow.DRAFT_RELEASE_ID repository variable
for the next run.secrets.CI_BOT_TOKEN for release and variable writes.