Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.14 KB

README.md

File metadata and controls

67 lines (48 loc) · 2.14 KB

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.