Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.

Cancel current run when future queued workflows available #61

Closed
prempalsingh opened this issue Dec 23, 2020 · 2 comments
Closed

Cancel current run when future queued workflows available #61

prempalsingh opened this issue Dec 23, 2020 · 2 comments
Assignees
Labels
Type: Feature New feature or request Type: Performance Improive performance

Comments

@prempalsingh
Copy link

Please describe your suggestion: 提案の概要

In the scenario when the CI system is saturated and workflows get scheduled, auto cancel does not work as it only checks for in-progress runs that were created before the current run. The runs don't get canceled as long as the future workflow runs are in the queued state.

Describe the solution you'd like: 考えうる解決方法

It would be good to have an option to cancel all workflows but the latest one for a given workflow id. This can either be a default behaviour or can be enabled using a flag.

@welcome
Copy link

welcome bot commented Dec 23, 2020

🙌 Thanks for opening your first issue here! Be sure to follow the issue template!

@technote-space technote-space added Type: Performance Improive performance good first issue Good for newcomers labels Dec 23, 2020
@github-actions github-actions bot added the Status: In Progress Tracking issues with work in progress label Jan 5, 2021
@technote-space technote-space added Type: Feature New feature or request and removed good first issue Good for newcomers labels Jan 5, 2021
technote-space added a commit that referenced this issue Jan 5, 2021
Cancel all workflows but the latest one (#61)
@technote-space
Copy link
Owner

I've added the feature as a default behavior.
Please use v1, v1.7 or v1.7.0.

@github-actions github-actions bot removed the Status: In Progress Tracking issues with work in progress label Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New feature or request Type: Performance Improive performance
Projects
None yet
Development

No branches or pull requests

2 participants