Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Prpr::MentionReviewers

Prpr plugin for notifying chat to Pull Request reviewers.

Installation

Add this line to your application's Gemfile:

gem 'prpr-mention_reviewers'

Usage

When you assign Pull request reviewers, it post to chat service too.

To add chat service, use publisher adapter (e.g. prpr-slack).

Env

For MENTION_COMMENT_ROOM and MENTION_COMMENT_MEMEBRS, the same setting as prpr-mention_comment is used.

MENTION_COMMENT_ROOM - room name to post mention.
MENTION_COMMENT_MEMEBRS - a file name to map github username to chat service one. (Default: MEMBERS.md)
MENTION_REVIEWERS_BODY - notification message body. (Default: 'Please review my PR: %{title}')
MENTION_REVIEWERS_TO_DM - notify Direct Message instead of MENTION_COMMENT_ROOM. (Default: false)

%{field_name} of REVIEW_LABEL_NOTIFICATION is replaced with corresponding value in pull request payload (e.g. title, or body).

License

The gem is available as open source under the terms of the MIT License.

About

Prpr plugin for notifying chat to Pull Request reviewers.

Resources

License

Packages

No packages published
You can’t perform that action at this time.