Skip to content

Read the review conversation without check permissions - #8

Merged
peters merged 1 commit into
mainfrom
fix/review-context-fields
Oct 22, 2026
Merged

peters merged 1 commit into
mainfrom
fix/review-context-fields

Conversation

@peters

@peters peters commented Oct 22, 2026 •

Copy link
Copy Markdown

The review workflow fails in Collect the diff and the conversation on every pull request:

GraphQL: Resource not accessible by integration (repository.pullRequest.statusCheckRollup.nodes.0.commit.statusCheckRollup)

gh pr view --comments without --json also queries statusCheckRollup, and the job token has no checks or statuses scope. This requests only title, body, comments and reviews, so no new token scope is needed. The same fix is in fintermobilityas/youpark.no#13290 and fintermobilityas/nativesdk#871.

The workflow runs from the default branch (pull_request_target), so the review of this pull request itself still runs the old file and is expected to fail; the fix takes effect after merge.

Review

The review workflow on the default branch cannot review this pull request: it fails on the defect this change fixes. One independent local review read the full diff (a reviewer agent, head of fintermobilityas/chaos#261; the diff is identical in every repository of this rollout). No findings. The same fix runs green in fintermobilityas/youpark.no (#13290).

gh pr view without --json also queries statusCheckRollup, which the job token cannot read, so the collect step failed with 'Resource not accessible by integration' on every pull request. Request only the title, body, comments and reviews.
@peters peters self-assigned this Oct 22, 2026
@github-actions

Copy link
Copy Markdown

Claude review

No findings.

@peters
peters merged commit 1daff01 into main Oct 22, 2026
1 check passed
@peters
peters deleted the fix/review-context-fields branch October 22, 2026 03:53
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

Successfully merging this pull request may close these issues.

1 participant