GitHub WebhooksΒΆ

GitHub has a full featured webhook system that’s able to notify you of a wide variety of events. IRC Hooky supports the following subset:

This page will walk you through setting up webhooks on a GitHub repository and getting related notifications in IRC.

To start off with, if you haven’t already done so, create a /github endpoint in your API Gateway instance following the deployment instructions.

Your API Gateway webhook URL should look something like:

https://xxxxxxx.execute-api.us-east-1.amazonaws.com/prod/github

To bring up the webhooks settings page, navigate over to:

https://github.com/<USERNAME>/<REPOSITORY>/settings/hooks/new

And fill in the following fields:

Payload URL https://xxxxxxx.execute-api.us-east-1.amazonaws.com/prod/github
Content Type application/json
Secret blank
Which events Send me everything
Active checkmark

Click the green Add webhook button and you’re done!