Prevent merge requests from being accepted

I was wondering if it was possible to prevent a merge request from being accepted until it meets some criteria like “the code has been tested and there is no regression”.

I know about the WIP feature but I’m not sure it will answer my use case.
Besides, anyone may change the merge request title, remove the WIP status and merge it…

Any solution for this ?
Thanks.

Well, if you use gitlab-ci you may configure your project to only accept a MR when the pipeline succeeded, see https://docs.gitlab.com/ce/user/project.

Note that this does not prevent merging from the command line, only via the UI.