Open PR for new patch release #8
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: 📦 Prepare new release | |
run-name: Open PR for new ${{ inputs.bump_type }} release | |
on: | |
workflow_dispatch: | |
inputs: | |
bump_type: | |
type: choice | |
description: Semantic version bump type | |
required: true | |
options: | |
- major | |
- minor | |
- patch | |
prerelease: | |
type: boolean | |
description: Create a prerelease | |
permissions: | |
actions: read | |
contents: write | |
pull-requests: write | |
jobs: | |
prepare-release: | |
uses: ./.github/workflows/wf-prepare-release.yaml | |
with: | |
bump_type: ${{ inputs.bump_type }} | |
prerelease: ${{ inputs.prerelease }} | |
# Secrets are only required until tool-create-release is made public | |
secrets: inherit |