terraform-pr-commenter icon indicating copy to clipboard operation
terraform-pr-commenter copied to clipboard

Option to update comments instead of deleting

Open hinaloe opened this issue 3 years ago • 0 comments

Currently, this action POSTs the comment after DELETE if there is an existing plan or other comment. This makes it impossible to compare the differences in plans between those changes.

As in the "Create or Update Comment" action, the "PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}" can be used. When a comment is updated, the edit history of the comment is available.

Would you be willing to provide this as an option?

hinaloe avatar May 10 '22 15:05 hinaloe