From 3809da522e80ab6da945efa9ef9ae48f598a8e8a Mon Sep 17 00:00:00 2001 From: FBumann <117816358+FBumann@users.noreply.github.com> Date: Sat, 21 Mar 2026 19:37:49 +0100 Subject: [PATCH] ci: add workflow_dispatch with branch and prerelease inputs Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 00311f5..688d81d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,16 @@ name: Release on: push: branches: [main] + workflow_dispatch: + inputs: + branch: + description: Branch to create the release from + required: true + default: main + prerelease: + description: Create a pre-release + type: boolean + default: true permissions: contents: write @@ -28,6 +38,8 @@ jobs: config-file: .release-please-config.json manifest-file: .release-please-manifest.json token: ${{ steps.app-token.outputs.token }} + target-branch: ${{ inputs.branch || github.ref_name }} + prerelease: ${{ inputs.prerelease }} publish: name: Build & publish to PyPI