Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jwarby
Copy link

@jwarby jwarby commented Jul 1, 2024

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

…ding `message`

Skip issues.updateComment call if no message was provided.
@jwarby jwarby force-pushed the fix/allow-comment-reactions-without-message branch from e06e959 to 28b1532 Compare July 5, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant