Skip to content

mzp/prpr-review_label

Repository files navigation

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.

review notification

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.

About

Prpr plugin to notify pull request to chat service.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •