cssho / prpr-mention_comment

Prpr plugin to notify mention comment to chat service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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_MEMEBRS - 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

About

Prpr plugin to notify mention comment to chat service.

License:MIT License


Languages

Language:Ruby 97.5%Language:Shell 2.5%