Is your feature request related to a problem? Please describe.
github-codebuild-logs posts multiple comments based on how many times CodeBuild was run for the PR, which depends on how many times additional pushes were done to PR branch after the PR was posted. Example aws/aws-sdk-js-v3#824
Describe the solution you'd like
Add optional HidePreviousComments option which is false by default. When true, it will hide previously posted PR comments as Outdated before posting a new one.
Describe alternatives you've considered
Is your feature request related to a problem? Please describe.
github-codebuild-logs posts multiple comments based on how many times CodeBuild was run for the PR, which depends on how many times additional pushes were done to PR branch after the PR was posted. Example aws/aws-sdk-js-v3#824
Describe the solution you'd like
Add optional
HidePreviousCommentsoption which is false by default. When true, it will hide previously posted PR comments as Outdated before posting a new one.Describe alternatives you've considered
DeletePreviousCommentsoption, but it deletes the comments instead of hiding them