Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

How to apply update hook on server side of repo on github

Solved! Go to Solution.

I want to discard any push which is not following particular rules. I have deployed update hook on local git repo and tested but not sure how to do the same on github repo.

 

Can someone guide?

1 Reply
Solution
Pilot Lvl 3
Message 2 of 2

Re: How to apply update hook on server side of repo on github

It is not possible to have custom update hooks on GitHub. What people tend to do instead is to require CI checks to pass for all branches before they get merged into master, and those CI checks check all the rules.