Add new syntax of workflow:auto_cancel:on_new_commit
What does this MR do and why?
This is the second step of #412473 (closed).
- Add auto_cancel_on_new_commit to ci_pipeline_me... (!137520 - merged)
- <--HERE-->
- Add `interruptible` to trigger jobs (!138508 - merged)
- Add auto_cancel:on_new_commit to canceling redu... (!139358 - merged)
- workflow:rules:auto_cancel (#436467 - closed)
This MR adds a new syntax of workflow:auto_cancel:on_new_commit
.
This new syntax will allow users to define the auto-cancel behavior of pipelines when a new commit is pushed to the same branch.
These missing parts will be added later;
- CI Schema file for the new syntax
- Documentation of the new syntax
Screenshots or screen recordings
workflow:
auto_cancel:
on_new_commit: conservative # (default), other options: "interruptible", "disabled"
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Furkan Ayhan