Gitlab Emergency Approvals


We have a GitLab server that we are currently trying to setup Merge Request Approvals on. It works fine, but we have one issue we cant resolve.

We have a need for emergency merge requests (Out of hours) that we wont be able to get an approval on. Is there anyway around this? One thought is to have an Emergency account which can be used as an approver, but I wondered if there was an approved method to do this from GitLab?

Thanks for any replys.

I don’t have a suggestion on whether there is a standard way of doing this, but here are a couple of pointers:

You could override the default approval settings:

You could use the GitLab API to e.g. auto-approve emergency merge requests based on your criteria: