workflow:rules:auto_cancel
Summary
As a follow-up from Improving canceling redundant pipelines with `i... (#412473 - closed), we need to implement this;
default:
interruptible: true
workflow:
auto_cancel:
on_new_commit: interruptible
on_job_failure: all
rules:
- if: $CI_COMMIT_REF_PROTECTED
auto_cancel:
on_new_commit: none
on_job_failure: none
Table
- Refactor metadata usage in CI Rules entry (!140706 - merged)
- Implement workflow:rules:auto_cancel for CI (!141090 - merged)
Follow up: Eliminate using `allowed_when` and `allow_keys` (#436473)
Edited by Furkan Ayhan