peter-evans / create-or-update-comment

A GitHub action to create or update an issue or pull request comment
MIT License
707 stars 113 forks source link

commit comment #211

Closed sakulstra closed 1 year ago

sakulstra commented 1 year ago

Hello, i've been using this action quite a lot and am wondering if it would be possible to support commit comments as well

I think in theory should be possible by accepting a sha instead of issue-number and alter the behavior in createComment.

Docs: https://docs.github.com/en/rest/commits/comments?apiVersion=2022-11-28#create-a-commit-comment

peter-evans commented 1 year ago

Hi @sakulstra

I have a separate action for commit comments. Please see commit-comment.