Prpr plugin for notifying chat to Pull Request reviewers.
Add this line to your application's Gemfile:
gem 'prpr-mention_reviewers'When you assign Pull request reviewers, it post to chat service too.
To add chat service, use publisher adapter (e.g. prpr-slack).
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).
The gem is available as open source under the terms of the MIT License.