What does hook do?

hook is the name of the microservice in Prow and the http endpoint in Lighthouse which listens to webhooks coming in from your git provider which then gets processed as either a ChatOps command or a trigger of a pipeline.