I am looking for a way to validate commit message via a pre-receive hook.
I am able to validate it for squash and merge commit however, it does not work for github re