This project is no longer maintained, please migrate to Reaction Comments.
Reaction Comments is a GitHub App built with Probot that deletes reaction comments, such as +1, and encourages the use of GitHub reactions.
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
.
- Install the GitHub App for the intended repositories
- Create
.github/reaction.yml
based on the template below
If possible, install the app only for select repositories.
Do not leave the All repositories
option selected, unless you intend
to use the app for all current and future repositories.
Create .github/reaction.yml
in the default branch to enable the app,
or add it at the same file path to a repository named .github
.
The file can be empty, or it can override any of these default settings:
# Configuration for Reaction Comments - https://github.com/dessant/reaction-comments-app
# 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}, would you like to leave
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
See docs/deploy.md if you would like to run your own instance of this app.
Copyright (c) 2018-2021 Armin Sebastian
This software is released under the terms of the MIT License. See the LICENSE file for further information.