Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEAT-417 - cancel existing running workflows for non-main pipelines #500

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

james-jdgtl
Copy link
Contributor

Add a few lines to the overall pipeline to cancel existing workflows, or wait if it's main.

This is the same as the default in CircleCI:

_Auto-cancel redundant workflows

With the exception of your default branch, we will automatically cancel any outstanding workflows on a branch when a newer pipeline is triggered on that branch. Scheduled workflows and re-runs are not auto-canceled._

@james-jdgtl james-jdgtl merged commit 576409c into main Dec 17, 2024
8 checks passed
@james-jdgtl james-jdgtl deleted the HEAT-417-cancel-running-workflows branch December 17, 2024 09:18
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.

2 participants