Checking out to FETCH_HEAD for migration-paths-upgrade-ce-to-ee
What does this MR do?
Checking out to FETCH_HEAD works better with tags
When the found "branch" is a tag, Git can't checkout to the tag with the remote name as a prefix. See:
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/106218414
So instead, since we're always fetching something, we could just use FETCH_HEAD in this case, and that also works with tags.
Also, we shouldn't run any EE-specific checks for tags:
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/105906272
It didn't fail but we could clearly see that there were errors, and there's no reasons to run it for tags.
What are the relevant issue numbers?
(Internal Slack)
- https://gitlab.slack.com/archives/C02PF508L/p1539099763000100
- https://gitlab.slack.com/archives/C1E21S2LD/p1539100741000100
- https://gitlab.slack.com/archives/C3JJET4Q6/p1539102311000100