Go to file
Brandon Keepers f24349673d
run mocha recursive
2016-10-10 10:08:58 -05:00
behaviors TODOs 2016-09-16 12:03:17 -07:00
docs a few other crazy ideas 2016-10-10 09:35:54 -05:00
lib Add support for event.action 2016-10-10 10:06:35 -05:00
script Fix permissions on script/server 2016-09-26 08:27:35 -05:00
test run mocha recursive 2016-10-10 10:08:58 -05:00
.editorconfig Add editorconfig 2016-09-16 11:45:59 -07:00
.gitignore Ignore node_modules 2016-09-16 16:59:52 -05:00
.travis.yml Disable travis notifications 2016-10-07 23:56:44 -05:00
CONTRIBUTING.md Info about testing 2016-09-17 12:37:44 -05:00
README.md remove TODO from README 2016-10-08 00:11:40 -05:00
package.json Experiment with rules-based approach 2016-10-09 00:29:05 -05:00
server.js Add support for event.action 2016-10-10 10:06:35 -05:00

README.md

PRobot

NOTE: this REAME is aspirational, and the project name is guaranteed to change.

PRobot is a trainable robot that responds to activity on GitHub. It's like Hubot, but for GitHub events instead of chat messages.

Automatically welcome first-time contributors, @mention previous authors, or close stale pull requests with pre-built behaviors. Write your own behaviors to implement whatever workflow your project needs.

Why?

Almost any workflow or process you can imagine can be added to GitHub with webhooks, the API, and now Integrations. But adding that workflow usually involves writing a lot of code to integrate with GitHub, and a tiny bit of code to implement the behavior you want. This project aims to be a generic bot for building integrations with GitHub.

The functionality of all of these awesome bots could be ported to behaviors:

  • highfive - GitHub hooks to provide an encouraging atmosphere for new contributors
  • Homu - A bot that integrates with GitHub and your favorite continuous integration service
  • mention-bot - Automatically mention potential reviewers on pull requests.
  • PullAprove
  • LGTM
  • Know of other examples? Add them here…

Here are some behaviors that we plan to implement:

  • Auto-responder for new issues and pull requests
  • Welcome new contributors
  • Auto close stale PRs
  • @mention OWNERS based on modified files
  • "Based on recent activity, expect a response in X days"

Creating a behavior

robot.on('pull', function(event) {
  robot.comment("Thanks for the pull request! We'll review it within 72 hours!");
});