Skip to content

ci: convert release builder to workflow_dispatch (v0.31)#4077

Draft
sydorovdmytro wants to merge 2 commits into
v0.31from
dmytrosydorov/devops-1050-release-dispatch-v0.31
Draft

ci: convert release builder to workflow_dispatch (v0.31)#4077
sydorovdmytro wants to merge 2 commits into
v0.31from
dmytrosydorov/devops-1050-release-dispatch-v0.31

Conversation

@sydorovdmytro

@sydorovdmytro sydorovdmytro commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Part of the DEVOPS-1050 phase-4 fan-out (loft-sh/vcluster legacy line). Builder-only conversion.

What

Converts only the builder release.yaml:

  • on: release:[created]on: workflow_dispatch (release-as-output: goreleaser creates the release at the end of a green build, dispatched by the shared vcluster-release action via --ref <tag>).
  • Decoupled github.event.release.*github.ref_name.
  • Branch-local previous_tag (git describe --match 'v*' <sha>^).

Validators intentionally unchanged

Legacy lines get no post-build validation wired — this matches current behavior (no regression). workflow_run only ever fires from the default branch, so a legacy-branch validator trigger would never fire anyway. Release validation for new lines (>= v0.37) is handled by main's validators, gated to skip legacy tags (reference PR #4072).

Actionlint-clean. Draft until the GitHub Actions incident clears and CI can run.

Convert the release builder to workflow_dispatch (the GitHub Release is now a
pipeline output created by goreleaser, not a trigger) and drive e2e and
unit-test validation off workflow_run of the Release builder completing. On the
release path change detection is skipped, jobs run only for a green build, and
the built tag is checked out. Previous-tag derivation is made branch-local.

Closes DEVOPS-1050
Legacy lines keep their existing validators untouched: release validation is
handled by main's workflow_run validators, gated to new (>= v0.37) lines. This
branch only converts the builder release.yaml (release-as-output + dispatch).
@sydorovdmytro sydorovdmytro changed the title ci: release dispatch + workflow_run validation (v0.31) [DEVOPS-1050] ci: release dispatch + workflow_run validation (v0.31) Jul 13, 2026
@sydorovdmytro sydorovdmytro changed the title ci: release dispatch + workflow_run validation (v0.31) ci: convert release builder to workflow_dispatch (v0.31) Jul 14, 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