Skip to content

Conversation

jonkoops
Copy link
Contributor

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 concurrency feature in GitHub actions to automatically cancel any runs before the last.

@patternfly-build
Copy link
Contributor

patternfly-build commented May 15, 2024

@nicolethoen
Copy link
Contributor

This cancels other processes? or cancels this process if others are running?

@jonkoops
Copy link
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.

@tlabaj tlabaj requested review from dlabaj and nicolethoen May 16, 2024 14:04
@nicolethoen nicolethoen merged commit f8a3004 into patternfly:main May 20, 2024
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

@jonkoops jonkoops deleted the cancel-release branch May 21, 2024 07:24
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.

3 participants