Push mirror pushes tags although "only protected branches" selected
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=24873) </details> <!--IssueSummary end--> ### Summary When using the "push-mirror" functionality, gitlab pushes tags although the "Only mirror protected branches" checkbox has been selected. ### Steps to reproduce 1. create source and destination repositories (e.g. https://gitlab.com/ensc/test-mirror-src + https://gitlab.com/ensc/test-mirror-dst) and configure mirroring from `src` to `dst`. Select ![Screenshot-2018-10-24_Repository___Enrico_Scholz_test-mirror-src](/uploads/51cf4ad8dc7f74e209326bea088767bc/Screenshot-2018-10-24_Repository___Enrico_Scholz_test-mirror-src.png) 2. Work in `src` 3. Create a tag in `src` 4. Work in `src` 5. Configure `dst` that every tag (`*`) is protected and that nobody can create them 6. repeat 3+4 ### What is the current *bug* behavior? - the tag created by 3. exists in `dst` - after 5. mirroring fails with ![x](/uploads/51a5d009ac3edd30b3fe20db5fdd8e31/x.png) ### What is the expected *correct* behavior? - only the (protected) `master` branch is in the `dst` repo, no tags - mirroring succeeds after 5.
issue