patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

chore(ci): cancel release workflow if new release is triggered

Open jonkoops opened this issue 1 year ago • 3 comments
trafficstars

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.

jonkoops avatar May 15 '24 14:05 jonkoops

Preview: https://patternfly-react-pr-10370.surge.sh

A11y report: https://patternfly-react-pr-10370-a11y.surge.sh

patternfly-build avatar May 15 '24 15:05 patternfly-build

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

nicolethoen avatar May 15 '24 16:05 nicolethoen

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.

jonkoops avatar May 15 '24 16:05 jonkoops

Your changes have been released in:

Thanks for your contribution! :tada:

patternfly-build avatar May 20 '24 18:05 patternfly-build