Skip to content

Read merge settings through GraphQL in the drift check - #9

Merged
KOliver94 merged 1 commit into
mainfrom
drift-graphql
Oct 19, 2026
Merged

KOliver94 merged 1 commit into
mainfrom
drift-graphql

Conversation

@KOliver94

Copy link
Copy Markdown
Member

The weekly drift check failed on every merge setting: GitHub's REST API shows allow_*, the squash title and message, delete-branch-on-merge and update-branch only to tokens that can write the repository's contents, and the check's App can only read. The same settings are available through GraphQL to a read-only token, so apply-settings.mjs now reads those eight fields there and keeps REST for everything else. Writing settings is unchanged.

@KOliver94
KOliver94 enabled auto-merge (squash) October 19, 2026 22:32
@KOliver94
KOliver94 merged commit 45e6a75 into main Oct 19, 2026
6 checks passed
@KOliver94
KOliver94 deleted the drift-graphql branch October 19, 2026 22:32
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