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

Cancel workflows when they become outdated #1105

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

Windvis
Copy link
Collaborator

@Windvis Windvis commented Feb 3, 2022

I noticed that multiple workflows were added to the queue when I pushed new commits and the previous ones weren't canceled.
This change ensures that workflows are canceled when new changes come in which means resources aren't wasted on outdated workflows.

ember-cli added the same config a while a go: ember-cli/ember-cli#9726

More information: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency

This change ensures that workflows are canceled when new changes come in which means resources aren't wasted on outdated workflows.

More information: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
@ef4 ef4 merged commit 4b9db36 into embroider-build:main Feb 5, 2022
@ef4
Copy link
Contributor

ef4 commented Feb 5, 2022

Thanks, this looks good.

@Windvis Windvis deleted the chore/cancel-stale-workflows branch February 5, 2022 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants