Interaction between workflow.auto_cancel.on_job_failure and allow_failure
The new feature released in #23605 (closed) is great for stopping pipelines early that have job failures to free resources.
For jobs however that have allow_failure: true
, a failure of one of these jobs will also cause the pipeline to exit early.
It would be great if there was a way to stop the pipeline right away if there is a job failure, but if failure of the job is allowed, the pipeline will continue.
Perhaps a different value could be provided like
workflow:
auto_cancel:
on_job_failure: unless-allowed