I am trying to follow the approach listed in below link found at Git 
documentation website but it seems not to be working.
*https://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy*

Github provides webhooks that gets triggered when we perform git operations 
but is there any way to stop/undo/modify commits based on Pull/Push 
requests before they get committed on Github? Since all the codebase is 
present on Github I am trying to set a filter to monitor requests being 
made to Github.
For instance, a Pull request should get cancelled if JIRA# is not mentioned 
in the PR template/ description.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to