fix and modernize github webhook