Skip to content

Instantly share code, notes, and snippets.


Suttikiet Sadaengrit smoothzebra

View GitHub Profile
bjhess /
Created May 18, 2012
The way I had to add a github repo webhook for pull requests

This is more complex than necessary.

GitHub webhooks for a URL by default only fire on repo pushes. There appears to be no way in the web UI to set up webhooks for other events. And so we go to the API. I prefer to do this type of thing with Hurl.

  "name": "web",
 "active": true,