github-action-benchmark icon indicating copy to clipboard operation
github-action-benchmark copied to clipboard

Post benchmark comments on a fork PR

Open jviotti opened this issue 1 year ago • 3 comments

Hey there! I'm making use of this action, and just realised it's failing to post the markdown comment with the results on PRs coming from forks. For example:

Screenshot 2024-11-19 at 3 54 47 pm

See https://github.com/sourcemeta/blaze/actions/runs/11919962225/job/33220848106?pr=167

Is there anything I need to do to make it work?

jviotti avatar Nov 19 '24 19:11 jviotti

Hi! Is there any update on this?

flferretti avatar May 15 '25 10:05 flferretti

For context, when you create a PR from a fork, the GitHub token in the actions only has read-only permissions.

mladedav avatar Aug 09 '25 12:08 mladedav

I guess the problem here is the comment that the action makes on the PR. Is there no way to use the token of the PR creator or something like that?

jviotti avatar Nov 26 '25 12:11 jviotti