Block merge from a branch matching name "staging"
Description
We have a requirement to block merges from a branch matching name "staging" to any other branch. This should be at gitlab level blocking any developers merging staging branch to any other branch( master, release, feature etc). Staging to staging branch merge should be possible though. Developers who merge staging to any other branch locally and then try to push to Gitlab should also be blocked.
From Branch : staging Target Branch: Any branch except staging Function: merge block