Search code examples
gitlabbranchpull-request

Cross-validating pull-requests


I share a repository with my colleagues and want to know if it is possible to enforce:

  • That no one can commit/push to the main-branch. (Only merge/pull-requests)
  • That every issue has to be validated by someone else.

I have googled quite a bit, but I think I'm missing some important keywords here.


Solution

  • As far as I am aware, this is not possible.