How to forbid a merge to a specif file extension into Master branch

Hi,

another thought would be merge strategies, like discussed here: How to ignore .gitlab-ci.yml file when merging the branches & Setting a "git config" option at the GitLab server

Cheers,
Michael