Runner ability to fetch refs for merge request pipelines
gitlab-org/gitlab-ee#7380 will introduce building combined refs for merge request pipelines. GitLab will need to schedule jobs for `refs/merge-requests/:iid:/merge` ref that is outside of the default cloning ref-spec. Today users can control how they retrieve source code (`clone`, `fetch`, or `none`). Given there's no way to clone outside of the default ref-spec, we will force a `fetch` mode in case of merge request pipeline. ## Links * gitlab-org/gitlab-ee#7380 * gitlab-org/gitlab-ce#47110 * PoC: https://gitlab.com/gitlab-org/gitlab-runner/merge_requests/1092 /cc @jlenny @darbyfrey @dosuken123
issue