Github's event selection for webhooks doesn't allow you to specify the exact set that Hoff needs. That means you'll inevitably end up with webhooks Hoff doesn't support, which Hoff will respond to with a HTTP 501/Unsupported. This is correct but not helpful, as it results in many failed entries in the Github webhook event log:
We should instead respond with a more successful response, so Github considers the webhook good even if we didn't do anything. The fact the webhook was unsupported can better go into Hoff's logs.
Github's event selection for webhooks doesn't allow you to specify the exact set that Hoff needs. That means you'll inevitably end up with webhooks Hoff doesn't support, which Hoff will respond to with a HTTP 501/Unsupported. This is correct but not helpful, as it results in many failed entries in the Github webhook event log:
We should instead respond with a more successful response, so Github considers the webhook good even if we didn't do anything. The fact the webhook was unsupported can better go into Hoff's logs.