From f656a5f72bf4e61522bb511f4c70b1d71fcf69bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BIDON?= Date: Fri, 5 Jun 2026 13:45:06 +0200 Subject: [PATCH] ci: fix release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric BIDON --- .github/workflows/bump-release.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/bump-release.yml b/.github/workflows/bump-release.yml index b77b03c..fecebe4 100644 --- a/.github/workflows/bump-release.yml +++ b/.github/workflows/bump-release.yml @@ -6,21 +6,15 @@ permissions: on: workflow_dispatch: inputs: - bump-patch: - description: Bump a patch version release - type: boolean + bump-type: + description: Type of bump (patch, minor, major) + type: choice + options: + - patch + - minor + - major + default: patch required: false - default: true - bump-minor: - description: Bump a minor version release - type: boolean - required: false - default: false - bump-major: - description: Bump a major version release - type: boolean - required: false - default: false tag-message-title: description: Tag message title to prepend to the release notes required: false @@ -38,9 +32,7 @@ jobs: contents: write uses: go-openapi/ci-workflows/.github/workflows/bump-release.yml@7a1bb6c4f078ac1a3258db1ae91c37a9d29eee2a # v0.3.4 with: - bump-patch: ${{ inputs.bump-patch }} - bump-minor: ${{ inputs.bump-minor }} - bump-major: ${{ inputs.bump-major }} + bump-type: ${{ inputs.bump-type }} tag-message-title: ${{ inputs.tag-message-title }} tag-message-body: ${{ inputs.tag-message-body }} secrets: inherit