Release to GitHub and push tag #105
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: Release to GitHub and push tag | |
on: | |
workflow_dispatch: | |
inputs: | |
release-type: | |
description: "Scope of the release; see https://python-poetry.org/docs/cli/#version" | |
type: choice | |
required: true | |
default: patch | |
options: | |
- patch | |
- minor | |
- major | |
jobs: | |
create-github-release-push-tag: | |
uses: bakdata/ci-templates/.github/workflows/[email protected] | |
name: Release | |
with: | |
release-type: ${{ inputs.release-type }} | |
poetry-version: "1.7.1" | |
changelog: true | |
changelog-config: "./.github/changelog-config.json" | |
changelog-file: "./docs/docs/user/changelog.md" | |
secrets: | |
github-username: "${{ secrets.GH_USERNAME }}" | |
github-email: "${{ secrets.GH_EMAIL }}" | |
github-token: "${{ secrets.GH_TOKEN }}" |