A simplified integration robot.
![Logo][logo] [logo]: https://ryanbrownhill.github.io/github-collab-pres/img/thumbsup.png
It merges a pull request for you after doing validation.
- (merge,build,test success and >=2 reviewers)
- When a pull request is created,
- a github webhook is called on /webhook
- Thumbs will then merge, build and test and record status to a pr comment.
- When a comment is created,
- a github webhook is called on /webhook
- Thumbs checks to ensure PR contains a minimum of 2 non author review comments
> git clone https://github.com/davidx/thumbs.git
> cd thumbs
> rake install
For testing
export GITHUB_USER=ted
export GITHUB_PASS=pear
export GITHUB_USER1=ted
export GITHUB_PASS1=pear
export GITHUB_USER2=bob
export GITHUB_PASS2=apple
For normal operation, only a single set of github credentials is needed.
export GITHUB_USER=ted
export GITHUB_PASS=pear
> ngrok -p 4567
Forwarding http://699f13d5.ngrok.io -> localhost:4567
Set the Payload URL to the one you just saved. add /webhook path.
Example: http://699f13d5.ngrok.io/webhook
Checkbox: Send me Everything
> rake test
> rake start
# Now create a pull request or leave a comment and watch the magic happen.