github-commenter icon indicating copy to clipboard operation
github-commenter copied to clipboard

Don't add the comment if it already exists

Open nesl247 opened this issue 5 years ago • 1 comments

Rather than requiring regex to delete comments, it would be great if this would automatically check if the comment exists, and if so, do not add a further comment.

For example, when setting up a PR review environment, we don't want it to constantly post the URL to the PR. We only need it done once.

nesl247 avatar Apr 23 '20 15:04 nesl247

I suppose you could use either -delete-comment-regex?

...or the newly added -edit-comment-regex, from:

  • https://github.com/cloudposse/github-commenter/pull/26

MPV avatar May 18 '22 09:05 MPV