inbox-add-reaction

Añadir una reacción a un issue o pull request de GitHub

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