Prpr is pull requests' reaction bot.
Handler provides various behaviors.
- prpr-checklist
- prpr-conflict_label
- prpr-review_label
- prpr-mention_comment
- prpr-gemfile
- prpr-trello
- prpr-merged
- prpr-lgtm
Publish adapter provides bridge to some chat service.
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.
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"
....
See prpr-template for example.
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
The gem is available as open source under the terms of the MIT License.