BenchmarkCI.jl
BenchmarkCI.jl copied to clipboard
Comment not being posted even though `Post results` step reports `[ Info: Comment posted.`
BenchmarkCI has been added to Plots.jl, and seems to work well.
However the comment isn't being posted, even though the Post results step is reporting [ Info: Comment posted.
For instance: https://github.com/JuliaPlots/Plots.jl/pull/3267
Curiously it worked when I did a test PR on my fork: https://github.com/ianshmean/Plots.jl/pull/4
Maybe your GITHUB_TOKEN has no permission to write. It looks like:
GITHUB_TOKEN Permissions
Actions: read
Checks: read
Contents: read
Deployments: read
Discussions: read
Issues: read
Metadata: read
Packages: read
Pages: read
PullRequests: read
RepositoryProjects: read
SecurityEvents: read
Statuses: read
By default the highest permissions for a GITHUB_TOKEN are read everywhere if the PR happens from a fork
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token