Chain build after release, skip empty releases, add cancellation#12
Merged
kristopherchun merged 1 commit intomainfrom Feb 27, 2026
Merged
Chain build after release, skip empty releases, add cancellation#12kristopherchun merged 1 commit intomainfrom
kristopherchun merged 1 commit intomainfrom
Conversation
- Add workflow_call trigger to build-push-ghcr.yml so create-release can invoke it directly (works around GITHUB_TOKEN not triggering other workflows) - Skip release creation when no commits exist since the last tag - Add concurrency groups for proper cancellation support
|
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
Fixes three issues with the release workflow:
GITHUB_TOKENevents don't trigger other workflows. Nowcreate-releasedirectly callsbuild-push-ghcrviaworkflow_callinstead of relying on therelease: publishedevent chain.concurrencygroups withcancel-in-progress: trueto both workflows so in-progress runs can be properly cancelled.Changes
create-release.yml: Added change detection step, chainedbuild-and-pushjob, concurrency groupbuild-push-ghcr.yml: Addedworkflow_calltrigger withversioninput, concurrency groupTest plan
semver: patchlabel — verify release is created AND Docker build triggers