Skip to content

Gate release on build, matching Bamboo stage order#138

Open
dkayiwa wants to merge 1 commit intomainfrom
gate-release-on-build
Open

Gate release on build, matching Bamboo stage order#138
dkayiwa wants to merge 1 commit intomainfrom
gate-release-on-build

Conversation

@dkayiwa
Copy link
Member

@dkayiwa dkayiwa commented Feb 27, 2026

In Bamboo, Release was stage 3, only running after Build (stage 1) passed. Currently the release job runs independently, so a release could be triggered even if the code doesn't compile.

This adds needs: build to the release job. On workflow_dispatch, build runs first to verify tests pass, then release proceeds.

Note: This reverts the if: github.event_name == 'push' condition on the build job from PR #135, since build now needs to run on dispatch too as a prerequisite for release.

In Bamboo, Release was stage 3 after Build (stage 1). This adds
needs: build to the release job so tests must pass before releasing.

Also reverts the build job's 'if: push' condition since build now
needs to run on workflow_dispatch too as a prerequisite for release.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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