From 6e57dceb8507cf6270cb86764d4ec9c5a4f2fd4d Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 22 Apr 2026 12:53:11 +0200 Subject: [PATCH] ci: forward bump input from workflow_dispatch to reusable release workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The caller workflow defined workflow_dispatch without inputs, so 'gh workflow run release.yml --field bump=...' failed with 'Unexpected inputs provided: ["bump"]'. Declare the bump input on the caller and forward it via 'with:' to the reusable workflow. Tag push still works unchanged — inputs.bump is empty, which the reusable workflow's bump job treats as a no-op. --- .github/workflows/release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25952d0..13d77d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,12 +5,21 @@ on: tags: - 'v*' workflow_dispatch: + inputs: + bump: + description: 'Version bump type' + required: true + type: choice + options: + - patch + - minor + - major jobs: release: uses: netresearch/skill-repo-skill/.github/workflows/release.yml@main + with: + bump: ${{ inputs.bump }} permissions: - id-token: write - attestations: write contents: write pull-requests: write