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 Outdated Runs now supported officially via Concurrency #234

Open
HariSekhon opened this issue Jun 15, 2022 · 2 comments
Open

Cancel Outdated Runs now supported officially via Concurrency #234

HariSekhon opened this issue Jun 15, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@HariSekhon
Copy link

HariSekhon commented Jun 15, 2022

GitHub Actions has a concurrency setting that can cancel previous workflows quite easily:

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-concurrency-to-cancel-any-in-progress-job-or-run

Is the Cancel Outdated Workflow Runs functionality obsolete or does it do something that concurrency can't?

This documentation needs to be updated either way - either to point to the use the standard mechanism or to document the difference between the two and why you'd go the 3rd party route for this today:

https://github.com/fkirc/skip-duplicate-actions#cancel-outdated-workflow-runs

@paescuj
Copy link
Collaborator

paescuj commented Jun 15, 2022

(Just adding some references: #149, #103)

@paescuj paescuj added enhancement New feature or request documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jun 24, 2022
@koppor
Copy link

koppor commented Sep 21, 2023

This action gets important again, because merge queues (of size > 1) do not work well with cancellation. See https://github.com/orgs/community/discussions/63136 for details (and please vote up the issue).

See also #329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants