Add option to limit pull mirror to protected branches
In some instances not all branches need to be mirrored, and it may even be problematic to mirror branches where history is changing (e.g. bidirectional mirroring).
Proposal
- Add option to
Only mirror protected branches
- Default to
true
for new mirrored repositories
Links / references
https://gitlab.com/gitlab-org/gitlab-ee/issues/3745
Documentation blurb
Overview
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Use cases
Who is this for? Provide one or more use cases.
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml