"Pipelines must succeed" should not block merge requests if there are no pipelines defined.
Summary
I enabled the "Pipelines must succeed" setting for a group, so all child projects should be protected from merging failing branches.
But now, all merge requests are blocked for projects that don't even define any CI/CD pipeline.
Please make sure that above setting will block merge requests only if any pending and failing pipelines exist for the corresponding project.
Steps to reproduce
- Create a project without CI/CD pipeline YAML definition
- Enable
Pipelines must succeed
setting - Create a merge request for the project
- Approve the merge request
What is the current bug behavior?
The merge request cannot be approved. A message is displayed, explaining that "pipelines must succeed first".
What is the desired behavior?
The merge request should be performed, as there is no pending or failing pipeline defined for the project.