In our project, we usually use a rebase-and-push workflow. Large features on different branches are merged through GitHub's UI, which show up as "Merge pull request".
Sometimes one of us does something wrong and ends up with a commit that looks like "Merge remote-tracking branch 'origin/master'". Is there any way that we can auto-deny a push to master if the push contains commits with "Merge remote-tracking branch" in the title?