pipelines-as-code icon indicating copy to clipboard operation
pipelines-as-code copied to clipboard

Cancel out of date runs

Open lcarva opened this issue 3 months ago • 1 comments

In a pull request workflow, it is common for the author to modify the changes in the pull request, e.g. push a new commit. When this happens, any previously triggered run is no longer applicable. If any of those are still running, they are mostly wasting resources since their result is thrown out. It would be great if such runs were automatically canceled by PAC.

NOTE: This really only applies to runs from pull request events. Runs from push events, on the other hand, should not be automatically cancelled under the same conditions.

lcarva avatar Apr 12 '24 12:04 lcarva