thollander / actions-comment-pull-request

GitHub action to comment pull request
MIT License
317 stars 82 forks source link

fix: Allow reactions to be added to an existing comment without providing a `message` #384

Open jwarby opened 2 months ago

jwarby commented 2 months ago

This allows users to add reactions to an existing comment without having to provide a message input. At the moment, trying to do this will fail because the API call to issues.updateComment fails if no body (message) param is provided.

This should allow things like this to work:

- uses: thollander/actions-comment-pull-request@v1
  with:
    comment_tag: foo
    reactions: eyes