Inplace comment update
@aviatesk composed a solution to update comment in place:
https://github.com/aviatesk/JET.jl/blob/8a458dd8d675c8e26c1149517c8dfbb1d755f01b/.github/workflows/benchmark.yml#L28-L68
Quoting my comment on slack:
I moved to git repository-based output (https://github.com/tkf/BenchmarkCI.jl#store-benchmark-result-in-a-git-branch-optional-very-experimental) so I'm not personally annoyed by the comment spamming anymore. But this is a bit more involved to set up so "inplace" comment updating like yours is a really nice default. I think it should be possible to write up GitHub API-based solution in BenchmarkCI. But I wonder if it is better to just provide the set of actions you wrote up as a composite action? https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-composite-run-steps-action
@aviatesk solution should be applicable for any package right?
yes