GitHub pull requests' reaction bot
Ruby GCC Machine Description
Latest commit e25517c Feb 13, 2017 @mzp committed on GitHub Merge pull request #6 from sinsoku/webhook_command
Add a command to create a hook

README.md

Prpr Build Status Code Climate

Prpr is pull requests' reaction bot.

Plugins

Handler

Handler provides various behaviors.

Publisher adapter

Publish adapter provides bridge to some chat service.

Configuration

Env

Store configuration value in envorinment variables. They are easy to change between deploys without changing any code.

GITHUB_ACCESS_TOKEN - access token for your bot
GITHUB_HOST - github host for github enterprise

Your personal access token could be created at settings.

Gemfile

All you need to use your favorite plugins is to write their names into Gemfile. Prpr will load them before running.

# Gemfile
gem "prpr"
gem "prpr-slack"
gem "prpr-checklist"
gem "prpr-conflict_label"
....

Setup

Deploy

See prpr-template for example.

Deploy

Setup webhook

Open webhook setting of your github repository, and input lik following.

  • Payload URL: http://prpr.example.com
  • Content type: application/x-www-form-url-encoded
  • Which events would you like to trigger this webhook?: Send me everytihng

Webhook

LICENSE

The gem is available as open source under the terms of the MIT License.