chore(release): make release.yml a zero-input workflow_dispatch - #24
Merged
Merged
Conversation
Drops the manual "version" bump-type dropdown and makes source_digest optional — docker-release.yml's promote mode now computes both automatically (sisques-labs/workflows#74). Clicking "Run workflow" with no inputs releases the latest validated build on main. Temporarily pinned to the workflows fix branch until #74 merges.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #22/#23:
release.ymlstill had a manual "Version bump type" dropdown and a requiredsource_digestfield, both artifacts of a bug indocker-release.yml'spromotemode (it was accidentally reusinglegacymode's manual-input code path — see sisques-labs/workflows#74, fixed there).versionentirely — the bump (patch/minor/major) is now computed automatically from conventional commits since the last stable tag.source_digestoptional — when empty, auto-resolves to the current:edgetag (latest build validated onmain).Notes
sisques-labs/workflows@fix/promote-mode-auto-version-digest(marked withTODO(trunk-based-ci-cd)) since that PR (#74) isn't merged yet. Must repoint to@mainonce it lands, same pattern as feat(release): pilot trunk-based CI/CD pipeline #22.Test plan
actionlintcleanrelease.ymlwith no inputs, once workflows#74 merges and this repoints to@main