/prpr-mention_comment

Prpr plugin to notify mention comment to chat service.

Primary LanguageRubyMIT LicenseMIT

Prpr::MentionComment

Prpr plugin to notify mention comment to chat service.

Install

Add this line to your application's Gemfile:

# Gemfile
gem 'prpr-mention_comment'

Usage

When some comment containing mention is posted, the comment request is post to chat service, too.

mention comment

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

Env

MENTION_COMMENT_ROOM - room name to post mention comment.
MENTION_COMMENT_MEMBERS - a file name to map github username to chat service one. (Default: MEMBERS.md)

Configuration

Write MEMBERS.md like following to map github username to chat service one.

 * @alice_at_github: @alice_at_chat
 * @bob_at_github: @bob_at_chat