Use shallow cloning in Duo workflow jobs by default
What does this MR do and why?
Use shallow cloning in Duo workflow jobs initiated via API by default to speed up workflow execution.
Developers can still do a full clone if needed.
References
Related to #572184 (closed)
Supersedes !207454 (closed)
This is a variation of what was proposed in !207454 (comment 2806970755).
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Wanderson Policarpo