andresz1 / size-limit-action

Compare the real cost to run your JS app or lib to keep good performance in every pull request
ISC License
449 stars 83 forks source link

Feature request: Reduce number of posts #24

Closed vincentmacri closed 4 years ago

vincentmacri commented 4 years ago

Right now the action posts after every commit on a PR. This causes a lot of messages cluttering the PR comments.

It would be nice if there was an option to have the action either delete or edit the previous comment, to avoid cluttering with lots of comments.

vincentmacri commented 4 years ago

I've been trying to implement this myself, and it seems like the best way to do this is to replace approving/requesting changes for pull request reviews with status checks. Instead of posting a pull request review comment, just post a regular comment and update/delete it after each new run.

andresz1 commented 4 years ago

Hi @vincentmacri, thank you for opening a PR! check comments