All Projects → hubot-scripts → hubot-github-repo-event-notifier

hubot-scripts / hubot-github-repo-event-notifier

Licence: other
Notifies about any GitHub repo event available via webhook.

Programming Languages

coffeescript
4710 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to hubot-github-repo-event-notifier

hubot-broadlink-rm
A hubot script to learn and send IR hex codes with Broadlink RM
Stars: ✭ 24 (-58.62%)
Mutual labels:  hubot, hubot-scripts
hubot-analytics
📈 A hubot script to get google analytics reports
Stars: ✭ 16 (-72.41%)
Mutual labels:  hubot, hubot-scripts
hubot-code-review
A Hubot script for GitHub code review on Slack.
Stars: ✭ 38 (-34.48%)
Mutual labels:  hubot, hubot-scripts
hubot-seen
A hubot script that tracks when/where users were last seen.
Stars: ✭ 25 (-56.9%)
Mutual labels:  hubot, hubot-scripts
hubot-pager-me
PagerDuty integration for Hubot
Stars: ✭ 74 (+27.59%)
Mutual labels:  hubot, hubot-scripts
hubot-ansible
A hubot script for launching ansible commands
Stars: ✭ 14 (-75.86%)
Mutual labels:  hubot, hubot-scripts
hubot-group-alias
@mentions for groups using Hubot
Stars: ✭ 14 (-75.86%)
Mutual labels:  hubot, hubot-scripts
Serverless Slackbot
A boilerplate Serverless Slackbot framework with a custom scripts folder (like Hubot)
Stars: ✭ 72 (+24.14%)
Mutual labels:  hubot
Hubot Grafana
📈🤖 Query Grafana dashboards
Stars: ✭ 141 (+143.1%)
Mutual labels:  hubot
Webbybot
chatterbot written in es6 (es2015), fork from hubot
Stars: ✭ 71 (+22.41%)
Mutual labels:  hubot
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-12.07%)
Mutual labels:  hubot
Hubot Gitter2
Hubot adapter for Gitter
Stars: ✭ 82 (+41.38%)
Mutual labels:  hubot
Generator Hubot
Hubot generator for Yeoman
Stars: ✭ 150 (+158.62%)
Mutual labels:  hubot
Showcase Ansible Chatops
Vagrant Demo showing ChatOps with Ansible
Stars: ✭ 71 (+22.41%)
Mutual labels:  hubot
Hubot Xmpp
XMPP adapter for Hubot
Stars: ✭ 185 (+218.97%)
Mutual labels:  hubot
Hubot Redis Brain
A hubot script to persist hubot's brain using redis
Stars: ✭ 63 (+8.62%)
Mutual labels:  hubot
Sactive Bot
😈 An extensible chat bot framework. sactive-bot is an evolution of the open source hubot project. - https://www.shipengqi.top/sactive-bot .
Stars: ✭ 212 (+265.52%)
Mutual labels:  hubot
Pull Review
✅ Assign pull request reviewers intelligently.
Stars: ✭ 179 (+208.62%)
Mutual labels:  hubot
Concierge
Modular chat bot. (Karma + Sassy + Hubot) * (Discord + Facebook + Messenger + Slack + Skype + Telegram + Hipchat + ...) = Concierge
Stars: ✭ 121 (+108.62%)
Mutual labels:  hubot
Hubot Test Helper
Helper for testing hubot script
Stars: ✭ 116 (+100%)
Mutual labels:  hubot

Hubot: hubot-github-repo-event-notifier

Notifies about any available GitHub repo event via webhook.

See src/github-repo-event-notifier.coffee for full documentation.

Installation

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:

["hubot-github-repo-event-notifier"]

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

Ex:

HUBOT_GITHUB_EVENT_NOTIFIER_TYPES=pull_request,pull_request

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

Ex:

HUBOT_GITHUB_EVENT_NOTIFIER_TYPES=pull_request:comment,pull_request:close

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].