draft-release #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: draft-release | |
on: | |
workflow_dispatch: | |
inputs: | |
version-tag: | |
description: | | |
Semantic version tag for next release. | |
If not provided, it will be determined based on conventional commit history. | |
Example: v2.5.11 | |
required: false | |
type: string | |
default: "" | |
jobs: | |
draft-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # required to include tags | |
- uses: CCBR/actions/draft-release@action-release | |
with: | |
github-token: ${{ github.token }} | |
version-tag: ${{ github.event.inputs.version-tag }} | |
ccbr-actions-version: action-release | |
draft-branch: 'release-draft' | |
version-filepath: VERSION | |
changelog-filepath: CHANGELOG.md | |
citation-filepath: CITATION.cff | |
dev-header: "development version" |