Adds recreate edit mode #413
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While I was using this helpful action in my workflows, I noticed that the comments created and later updated by it could "get lost" in the records of a PR if this gets large enough, which in some cases could harm the dev/review experience. With this PR, I'd like to propose something that could add to it in that sense.
A behavior that could solve the problem would be what tools' bots, such as Sonar, do, which recreates the comments at the end of each check so they are always close to the most recent PR activity logs. Obviously, it's possible to solve the issue directly in my workflow, even though this would generally be done by using other actions from the marketplace or perhaps by using the API directly. However, I thought: "Why not try to contribute by adding support for this 'editing mode'?"
If this goes against what was ideal for the action, feel free to reject the PR outright or ask any questions you may have. Thank you 🙂