{"repo":"peter-evans/commit-comment","free":true,"listed":false,"github":"https://github.com/peter-evans/commit-comment","clone":"git clone https://github.com/peter-evans/commit-comment.git","description":"A GitHub action to create a comment for a commit on GitHub","language":"TypeScript","stars":99,"topics":["github-actions","github-api","commit-comment"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Commit Comment A GitHub action to create a comment for a commit on GitHub. Usage Add a comment to the current context's commit SHA The SHA defaults to github.sha OR, for pull request events github.event.pull request.head.sha . Update a commit comment Add commit comment reactions Action inputs Name Description Default --- --- --- token GITHUB TOKEN or a repo scoped PAT. GITHUB TOKEN repository The full name of the target repository. github.repository (current repository) sha The commit SHA. github.sha OR, for pull request events github.event.pull request.head.sha path Relative path of the file to comment on. position Line index in the diff to comment on. comment-id The id of the comment to update. body The comment body. Cannot be used in conjunction with body-path . body-path The path to a file containing the comment body. Cannot be used in conjunction with body . edit-mode The mode when updating a comment, replace or append . append append-separator The separator to use when appending to an existing comment. ( newline , space , none ) newline reactions A comma or newline separated list of reactions to add to the comment. ( +1 , -1 , laugh , confused , heart , hooray , rocket , eyes ) reactions-edit-mode The mode when updating comment reactions, replace or append . append Note: In public repositories this action does not work in pull request workflows when triggered by forks. Any attempt will be met with the error, Resource not accessible by integration . This is due to token ","default_branch":null,"files":null,"tree":[],"storefront":"/r/peter-evans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/peter-evans/commit-comment/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}