Skip to content

fix: forward the bump input to the release workflow - #65

Merged
ehennestad merged 1 commit into
mainfrom
forward-bump-input
Jul 23, 2026
Merged

fix: forward the bump input to the release workflow#65
ehennestad merged 1 commit into
mainfrom
forward-bump-input

Conversation

@ehennestad

Copy link
Copy Markdown
Owner

Summary

Dispatching Prepare toolbox release with a bump type (and no explicit version) failed:

Tag name ('main') is not in the expected v*.*.* format.

The workflow declared the bump dispatch input (added in #64) but never forwarded it — the with: block only passed version and ref_name. A bump-only dispatch therefore sent an empty version to prepare-release-workflow, whose version validation fell back to interpreting ref_name (main) as a release tag.

One line: forward bump: ${{ inputs.bump }}, matching the matbox-actions workflow template.

Dependency

Merging this requires matbox-actions v1.6 (in flight): @v1 currently resolves to v1.5, whose prepare-release-workflow.yml does not declare a bump input, and passing an undeclared input to a reusable workflow is a hard error. Once v1.6 is published and v1 moves, this works as-is. Until then, the explicit version override input still works for releases.

🤖 Generated with Claude Code

The workflow declared the bump dispatch input but never passed it to
prepare-release-workflow, so a bump-only dispatch sent an empty version
downstream and version validation failed on ref_name ('main').

Requires matbox-actions v1.6 (the release that ships the bump input on
prepare-release-workflow).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ehennestad
ehennestad merged commit f01be64 into main Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant