hubot-archive / hubot-github-repo-event-notifier

Notifies about any GitHub repo event available via webhook.
https://www.npmjs.org/package/hubot-github-repo-event-notifier
57 stars 42 forks source link

Allow script to notify for arbitrary events in webhook payload #4

Closed patcon closed 10 years ago

patcon commented 10 years ago

http://developer.github.com/webhooks/#events

patcon commented 10 years ago

Hm. Oddly issues is actually issue in the payload. It's only "issues" in the header:

X-GitHub-Event: "issues"
patcon commented 10 years ago

Only tested on issue and pull_request types. Likely doesn't work for all, but I'll leave it to someone else to improve as needed.