Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
alert-octagon

GitHub Action

Comment Reaction

v2.1.1

Comment Reaction

alert-octagon

Comment Reaction

React to a comment within a GitHub Issue or Pull Request

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Comment Reaction

uses: dkershner6/reaction-action@v2.1.1

Learn more about this action in dkershner6/reaction-action

Choose a version

Issue or Pull Request Comment Reaction

React to any comment with the GitHub Reaction types.

Usage

- name: React to comment
  uses: dkershner6/reaction-action@latest # You can also use a specific version, e.g. v2.0.0
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    commentId: 1234 # Optional if the trigger is a comment. Use another action to find this otherwise.
    reaction: "hooray" # Optional, defaults to +1

Valid reactions (if this is incomplete, please open an issue)

const VALID_REACTIONS = [
    '+1',
    '-1',
    'laugh',
    'confused',
    'heart',
    'hooray',
    'rocket',
    'eyes',
];