Files
probot.github.io/_apps/reaction.md
Brandon Keepers 606d68ae26 Sync data
2018-12-22 21:55:01 +00:00

2.2 KiB

title, description, slug, screenshots, authors, repository, host, stars, updated, installations, organizations
title description slug screenshots authors repository host stars updated installations organizations
Reaction Comments Deletes +1 comments and encourages the use of GitHub reactions. reaction
https://raw.githubusercontent.com/dessant/reaction-comments/master/assets/screenshot.png
dessant
dessant/reaction-comments https://probot-reaction-comments.glitch.me 14 2018-10-03 03:16:23 UTC 52
zealdocs
invertase
Mottie
concourse
CellularPrivacy
Radarr
sethvargo
idehub
chefspec
nextcloud

A GitHub App that deletes reaction comments, such as +1, and encourages the use of GitHub reactions.

How It Works

The app detects if a new comment consists solely of emojis and shortcodes used in GitHub reactions. A matching comment is either replaced with the message set in reactionComment and deleted after a day, or it is deleted immediately, if reactionComment is set to false.

Usage

  1. Install the GitHub App for the intended repositories
  2. Create .github/reaction.yml based on the template below

Configuration

Create .github/reaction.yml in the default branch to enable the app. The file can be empty, or it can override any of these default settings:

# Configuration for reaction-comments - https://github.com/dessant/reaction-comments

# Issues and pull requests with these labels accept reaction comments.
# Set to `[]` to disable
exemptLabels: []

# Replace matching comments with this message, `{comment-author}` is an
# optional placeholder. Set to `false` to disable
reactionComment: >
  :wave: @{comment-author}, did you mean to use
  a [reaction](https://git.io/vhzhC) instead?

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings just for `issues` or `pulls`
# issues:
#   exemptLabels:
#     - party-parrot

# pulls:
#   reactionComment: false

# Repository to extend settings from
# _extends: repo

Supporting the Project

The continued development of Reaction Comments is made possible thanks to the support of awesome backers. If you'd like to join them, please consider contributing with Patreon.