Skip to content

PR from fork cannot write benchmarking comment #1547

Description

@Sevans711

Version

v2026.6.1

How did you install UXarray?

Source

What happened?

PR #1541 is currently blocked because after the benchmarking job completes, github-actions bot fails to write comment to the PR: https://github.com/UXARRAY/uxarray/actions/runs/28799210394/job/85397701245?pr=1541
The failure includes: Error: Unhandled error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment

I suspect this is related to the PR coming from an external fork instead of a branch. Maybe there is a check like "head.repo == base.repo" somewhere?

PR 1541 is trying to merge changes from my fork. Meanwhile, I submitted PR #1546 from a branch (now that I have write access to uxarray branches), and there benchmarking completed successfully and github-actions bot was able to leave a comment.

Sidenote: the two failing benchmark cases (fixed by 1546) do not seem to be related to this issue; other PRs by other people recently have had those benchmarks fail too, but the bot was still able to leave a benchmarking comment successfully.

Possibly related to #1192.

What did you expect to happen?

I expected github-actions benchmarking to leave a comment after running the benchmarking tests in #1541, similarly to other PRs, regardless of whether to PR came from an external fork or from a branch.

Can you provide a MCVE to repoduce the bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    📚 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions