release_draft.yml creates or updates a draft GitHub release from merged pull
request metadata and the release template in .github/ci-config.yml.
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.
flowchart LR
template["Template workflow<br/>release_draft.yml"] --> drafter["Reusable workflow<br/>release_drafter.yml"]
drafter --> release_drafter["Action<br/>release-drafter/release-drafter"]
classDef template fill:#e0f2fe,stroke:#0284c7
classDef workflow fill:#ede9fe,stroke:#7c3aed
classDef action fill:#ecfccb,stroke:#65a30d
class template template
class drafter workflow
class release_drafter action
The release draft job needs:
contents: write creates or updates draft releases.pull-requests: read resolves changelog and version metadata..github/ci-config.yml.main or manual dispatches.secrets.CI_BOT_TOKEN for release writes.