Skip to content

Instantly share code, notes, and snippets.


Suttikiet Sadaengrit smoothzebra

View GitHub Profile
smoothzebra /
Created May 14, 2022 — forked from bjhess/
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,