Prpr::ReviewLabel
Prpr plugin to notify pull request to chat service.
Install
Add this line to your application's Gemfile:
# Gemfile
gem 'prpr-review_label'
Usage
When some pull request is labeled, the pull request is notified to chat service.
To add chat service, use publisher adapter (e.g. prpr-slack).
Env
REVIEW_LABEL - label name repsenting in-review (Default: REVIEW)
REVIEW_LABEL_BODY - notification message body.
REVIEW_LABEL_ROOM - room for notificating in-review
%{field_name}
of REVIEW_LABEL_BODY
is replaced with corresponding value in pull request payload (e.g. title
, or body
, html_url
).
License
The gem is available as open source under the terms of the MIT License.