From 7c47a7b6eeb8ed9ff54dc563f625631efddda346 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 22 Apr 2026 12:52:39 +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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c25ba2b..13d77d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,10 +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: contents: write pull-requests: write