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

Use concurrency groups to cancel running workflows #2225

Merged
merged 2 commits into from Dec 7, 2021

Conversation

lucacome
Copy link
Member

There's a native option in the workflow to cancel concurrently running jobs, meaning that if there's a new push for a branch where the old run is not completed, it will be canceled and only the new version will run.

This replaces the action that we are currently using.

https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#concurrency

@lucacome lucacome self-assigned this Nov 30, 2021
@github-actions github-actions bot added the chore Pull requests for routine tasks label Nov 30, 2021
@nginx-bot nginx-bot force-pushed the chore/cancel-previous-runs branch 8 times, most recently from 1315d19 to e43303c Compare December 7, 2021 04:40
@lucacome lucacome merged commit 10fe585 into master Dec 7, 2021
@lucacome lucacome deleted the chore/cancel-previous-runs branch December 7, 2021 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants