Skip to content

fix(ci): keep checks/statuses scopes when copying auto-merge to a private repo - #6

Merged
github-actions[bot] merged 1 commit into
masterfrom
fix/auto-merge-private-repo-scopes
Aug 7, 2026
Merged

fix(ci): keep checks/statuses scopes when copying auto-merge to a private repo#6
github-actions[bot] merged 1 commit into
masterfrom
fix/auto-merge-private-repo-scopes

Conversation

@catomean

@catomean catomean commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

The class

This file is the copy source for the auto-merge workflow now running in ~20 repos. It omits checks: read and statuses: read.

A public repo answers the sweep's statusCheckRollup query without those scopes. So the workflow worked in every repo it was ever tried in — and every one of those was public. The scopes looked unnecessary because nothing had exercised the path that needs them.

ivy-portal is the first private repo to run it. There, every sweep since the workflow landed has failed:

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

It has merged nothing, ever. Repo-level fix: bitbaum/ivy-portal#4.

Why fix the template too

Otherwise the next private repo that copies this file inherits the same silent break. The failure mode is what makes it worth a comment in the file: a repo that merges nothing looks exactly like a repo with nothing ready to merge, so nobody goes looking.

Adding two read scopes is a no-op on the public repos already running this.

Found while clearing damage from the 2026-08-06 GitHub Actions outage.

🤖 Generated with Claude Code

…vate repo

This workflow is the copy source for ~20 repos. It omitted checks:read and
statuses:read, which a public repo does not need to answer the sweep's
statusCheckRollup query — so it worked everywhere it was tried, and every
place it was tried was public.

ivy-portal, the first private repo to run it, failed on every sweep with
'Resource not accessible by integration' and merged nothing, ever.
@github-actions
github-actions Bot merged commit 05fa0bd into master Aug 7, 2026
1 check passed
@github-actions
github-actions Bot deleted the fix/auto-merge-private-repo-scopes branch August 7, 2026 06:52
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