Unable to merge feature branch with missing pipelines (also creating misleading error message about discussions)
Summary
When trying to accept a Merge Request into a project, where in the project settings the checkbox "all pipelines must succeed" is checked, and there are no pipelines configured, gitlab wont let me merge my MR.
There is also a misleading Error Message, that "all discussions need to be resolved" even if there is no discussion.
Steps to reproduce
- Set up Project
- Configure in Settings "all pipelines must succeed"
- Create MR
- Do NOT set up a pipeline
- You can not merge, because you need to "resolve discussions".
What is the current bug behavior?
Described above
What is the expected correct behavior?
I should be able to merge, if there is no pipeline configured
Results of GitLab environment info
GitLab Enterprise Edition 12.3.5-ee