Skip to content

chore(release): make release.yml a zero-input workflow_dispatch - #24

Merged
JSisques merged 2 commits into
mainfrom
chore/release-zero-input
Sep 16, 2026
Merged

JSisques merged 2 commits into
mainfrom
chore/release-zero-input

Conversation

@JSisques

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #22/#23: release.yml still had a manual "Version bump type" dropdown and a required source_digest field, both artifacts of a bug in docker-release.yml's promote mode (it was accidentally reusing legacy mode's manual-input code path — see sisques-labs/workflows#74, fixed there).

  • Drops version entirely — the bump (patch/minor/major) is now computed automatically from conventional commits since the last stable tag.
  • Makes source_digest optional — when empty, auto-resolves to the current :edge tag (latest build validated on main).
  • Result: click "Run workflow" with zero required inputs to release main to prod.

Notes

  • Temporarily pinned to sisques-labs/workflows@fix/promote-mode-auto-version-digest (marked with TODO(trunk-based-ci-cd)) since that PR (#74) isn't merged yet. Must repoint to @main once it lands, same pattern as feat(release): pilot trunk-based CI/CD pipeline #22.

Test plan

  • actionlint clean
  • Live dry-run of release.yml with no inputs, once workflows#74 merges and this repoints to @main

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.
@github-actions github-actions Bot added the ci CI/CD workflow changes label Sep 16, 2026
@JSisques
JSisques merged commit a77e13a into main Sep 16, 2026
9 checks passed
@JSisques
JSisques deleted the chore/release-zero-input branch September 16, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD workflow changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant