Inbox Add Reaction

Add a reaction to a GitHub issue or pull request

Microsoft f48f9f3 640 B Updated 2.7k repo stars

File contents

Add Reaction

Add an emoji reaction to an issue or pull request.

Command

gh api --method POST /repos/{owner}/{repo}/issues/{number}/reactions -f content={reaction}

Available reactions

  • +1 (thumbs up 👍)
  • -1 (thumbs down 👎)
  • laugh (😄)
  • confused (😕)
  • heart (❤️)
  • hooray (🎉)
  • rocket (🚀)
  • eyes (👀)

Replace {owner}, {repo}, {number}, and {reaction} with the appropriate values. Note: this endpoint works for both issues and pull requests (PRs are issues in GitHub's API).

microsoft/vscode-team-kit/tree/main/github-inbox/skills/inbox-add-reaction commit f48f9f3a64

Frequently asked questions

npx skillmds@latest add microsoft/inbox-add-reaction