edumserrano/Find, create or update comment

Tries to find a comment and updates it if found, if not creates it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGITHUB_TOKEN or a repo scoped PAT.yes${{ github.token }}
repositoryThe full name of the repository containing the issue or pull request where to find, create or update the comment.yes${{ github.repository }}
issue-numberThe number of the issue or pull request in which to find, create or update the comment.yes
comment-authorThe GitHub user name of the comment author.no""
body-includesA string to search for in the body of comments. Cannot be used in conjunction with body-regex.no""
body-regexA regular expression to search for in the body of comments. Cannot be used in conjunction with body-includes.no""
directionSearch direction, specified as first or last.nofirst
nth0-indexed number, specifying which comment to return if multiple are found.no0
bodyThe comment body. Cannot be used in conjunction with body-path.no""
body-pathThe path to a file containing the comment body. Cannot be used in conjunction with body.no""
edit-modeThe mode when updating a comment: replace or append.noappend
reactionsA comma separated list of reactions to add to the comment (+1, -1, laugh, confused, heart, hooray, rocket, eyes).no""
reactions-edit-modeThe mode when updating comment reactions, replace or append.noappend

no outputs