Allow users to disable #nnn triggering issues to be closed or annotated on mirrored trees from outside gitlab
I have a project mirrored from outside Gitlab. The commit messages are written without any awareness of Gitlab conventions and can include #nnn or for that matter !nnn or @foo for reasons that have nothing to do with Gitlab issues or other objects.
Observe what happened with this commit:
https://gitlab.com/_stark/postgresql/commit/6497a18e6c1b5874566a77737ec3d381fded3ec2
Which was mirrored from:
Note that the "#1 (closed)", "#2 (closed)", etc have nothing to do with Gitlab issues. Worse, because one of them said "The way to fix #4 (closed) is..." it actually closed one of the issues in the gitlab project mirroring it.
It would be nice to have a checkbox to mark the mirroring as not being from a source where these kinds of actions should be triggered. At worst it would be good to be able to disable it for the entire project if it can't be controlled just for the mirror source.