Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible for the GHA bot to post and edit a single comment with benchmark results? #119

Open
IndrajeetPatil opened this issue Oct 26, 2022 · 2 comments
Assignees

Comments

@IndrajeetPatil
Copy link

Instead of posting a new comment for each commit, is it possible for the github-actions bot to edit the existing comment?

The issue is that if a PR has 25 commits, there will be 25 comments from touchstone workflow. This makes it difficult for both contributors and reviewers to navigate the PR and increases their workload by having to hide outdated comments so that the relevant comments can pop out.

This is what codecov-commenter does when it comments on PR with code coverage reports; it just edits the comments in place for each new commit. One can even look at these edits to see how the code coverage changed across commits.

@lorenzwalthert
Copy link
Owner

I don't know if possible. If you can make it work, I am open for PRs, but I won't put significantly more work into {touchstone} anymore.

@assignUser assignUser self-assigned this Oct 26, 2022
@assignUser
Copy link
Collaborator

Yes that is possible https://docs.github.com/en/rest/issues/comments#update-an-issue-comment
I will take a look (no promise when though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants