FYI, tested this on a system in my lab, it appears some versions of Gogs have a slightly different URL for setting up hooks. I will send a pull request in a moment if you'd like to merge it, I will leave it as an if False: and let you decide if you want to add it to the code properly with a flag or autodetect
FYI, tested this on a system in my lab, it appears some versions of Gogs have a slightly different URL for setting up hooks. I will send a pull request in a moment if you'd like to merge it, I will leave it as an
if False:
and let you decide if you want to add it to the code properly with a flag or autodetect