chore(ci): cancel release workflow if new release is triggered#10370
Merged
nicolethoen merged 1 commit intopatternfly:mainfrom May 20, 2024
Merged
chore(ci): cancel release workflow if new release is triggered#10370nicolethoen merged 1 commit intopatternfly:mainfrom
nicolethoen merged 1 commit intopatternfly:mainfrom
Conversation
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Collaborator
|
Preview: https://patternfly-react-pr-10370.surge.sh A11y report: https://patternfly-react-pr-10370-a11y.surge.sh |
Contributor
|
This cancels other processes? or cancels this process if others are running? |
Contributor
Author
|
This will cancel any previous run that is active, so for example if PR A is merged and the release workflow starts, and then PR B is merged right after before the A run is completed, it will cancel A and then start B. |
nicolethoen
approved these changes
May 20, 2024
Collaborator
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
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.
Cancels the release workflow if a new commit is pushed that could create failures if the workflows start competing for Git tags needed for release. This uses the
concurrencyfeature in GitHub actions to automatically cancel any runs before the last.