Push mirror pushes tags although "only protected branches" selected

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

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

  1. Work in src

  2. Create a tag in src

  3. Work in src

  4. Configure dst that every tag (*) is protected and that nobody can create them

  5. repeat 3+4

What is the current bug behavior?

  • the tag created by 3. exists in dst

  • after 5. mirroring fails with

    x

What is the expected correct behavior?

  • only the (protected) master branch is in the dst repo, no tags

  • mirroring succeeds after 5.

Edited by 🤖 GitLab Bot 🤖