GitHub pull requests' reaction bot
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Merge branch 'master' into webhook_command Feb 13, 2017
docs
lib Merge branch 'master' into webhook_command Feb 13, 2017
spec Merge branch 'master' into webhook_command Feb 13, 2017
.gitignore update Gemfile.lock Sep 5, 2015
.rspec
.travis.yml
CODE_OF_CONDUCT.md 📦 bundle gem prpr Sep 2, 2015
CONTRIBUTING.md update CONTRIBUTING.md Sep 5, 2015
Gemfile add test coverage for code climinate Sep 6, 2015
Gemfile.lock
LICENSE.txt 📦 bundle gem prpr Sep 2, 2015
MEMBERS.md
README.md Update README.md Jul 29, 2018
Rakefile
prpr.gemspec 💚 Add specs for server Feb 11, 2017

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 environment 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.