Prpr is pull requests' reaction bot.
Plugins
Handler
Handler provides various behaviors.
- prpr-checklist
- prpr-conflict_label
- prpr-review_label
- prpr-mention_comment
- prpr-gemfile
- prpr-trello
- prpr-merged
- prpr-lgtm
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.
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
LICENSE
The gem is available as open source under the terms of the MIT License.