inbox-add-reaction

Add a reaction to a GitHub issue or pull request

npx skills add https://github.com/microsoft/vscode-team-kit --skill inbox-add-reaction

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).