Repository navigation
ci: cancel previous jobs from the same branch; prefer tag builds on the same commit - #35
Closed
igagis-bot wants to merge 2 commits into
Closed
igagis-bot wants to merge 2 commits into
igagis-bot wants to merge 2 commits into
Conversation
…he same commit group concurrency by the pushed commit sha for push events (branches and tags), so a tag build pushed after a branch build on the same commit cancels the in-progress branch build and remains. for pull requests group by ref (refs/pull/N/merge).
the concurrency group cancels the older run, so it cannot give the tag build priority when the branch run starts after the tag run. revert the group to a plain per-ref one (branch and tag runs no longer share a group) and add a tag-priority job that all other jobs depend on: in a tag build it cancels in-progress branch builds on the same commit, in a branch build it cancels the run when a tag build on the same commit is in progress.
Member
|
not needed |
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.
Add CI cancellation and tag build priority: