Skip to content

hilotter/prpr-mention_reviewers

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Code of conduct

Stars

Watchers

Forks

Packages

No packages published