Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(workflows): add ability to cancel all but latest workflow run (#…
…5637) Previously, only workflows older then the current workflow were canceled In very deep queues this means the current instance may not even run until there are future runs enqueued, and those will not run - and thus will not cancel - the current run, leaving the queue in a clogged state Now any time a run instance finally gets off the queue and runs it will check all runs - including runs queued after the current one - and it will clear all non-current runs including itself, hopefully unclogging the queue styfle/cancel-workflow-action#62
- Loading branch information