Notifies about any GitHub repo event available via webhook.
CoffeeScript JavaScript Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src Revert "Use `robot.logger` instead of `console`" Mar 27, 2018
.editorconfig Added editorconfig and reverted whitespace changes. Sep 19, 2015
.travis.yml Clarify `robot.logger` "fix" Mar 27, 2018
Gruntfile.js Reverted whitespace tab changes. Sep 9, 2015

Hubot: hubot-github-repo-event-notifier

Notifies about any available GitHub repo event via webhook.

See src/ for full documentation.


Add hubot-github-repo-event-notifier to your package.json file:

"dependencies": {
  "hubot": ">= 2.5.1",
  "hubot-scripts": ">= 2.4.2",
  "hubot-github-repo-event-notifier": ">= 0.0.0",
  "hubot-hipchat": "~2.5.1-5",

Add hubot-github-repo-event-notifier to your external-scripts.json:


Run npm install

When starting hubot you need to specify the events it will accept. This is done via the HUBOT_GITHUB_EVENT_NOTIFIER_TYPES



If you want you can specific events in the event types.



Development Testing

Ideally, you'd write tests and put them in our test/ directory.

If you just want to mess around with some things, we've bundled a REPL for you which has some fixture data and exposes the core functionality of the processing of events. To boot up the reply, launch script/console.

  • Sample payloads are available via the variable eventPayloads. It contains a key for each event type, e.g. pull_request or page_build.
  • Each processing function is available via actions. This object contains a key for each event type, e.g. pull_request or page_build. It takes the payload object and the callback function as its parameters, in that order.