When all of these conditions are met:
Is merge commit is false
Repository is any of Restricted Repository, Restricted Repository
Branches contains release
Branches does not contain hotfix
Take these actions every time this rule matches:
Block push with message: Directly commit is not allowed on release branch.