You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(repos): the drift Job reads merge settings and bypass actors #6888
The nightly drift Job (CronJob repos-drift, #6783) mints an App token with read permissions only (CONST_GITHUB_APP_READ_TOKEN_PERMISSIONS, setting service.github_app.read_only). GitHub returns the merge settings of a repository only to a token with Contents write ("Get a repository"), and the bypass actors of a ruleset only with Administration write ("Get a repository ruleset"). Since #6875 (PR #6878) the Job reports rows 2 and 10 as not readable in each repository each night, so RepositorySettingsUnreadable fires nightly and the merge settings are not checked.
Proposed remedy
Owner decision of 2026-11-23 (#6875, comment 7104241763): the token of the drift Job also asks for Contents write and Administration write.
Rename the permission set, the setting and its variable to what they are now (a drift permission set), and fix each doc, spec, manifest, rule text and ADR 0015 Status History line that says read-only.
Plan mode still sends GET requests only; a test proves that the drift run with a write-capable token sends no write.
Acceptance criteria
A test: the token request of the drift run holds contents: write and administration: write, and every other request of the run is a GET.
No doc, spec or manifest calls the drift identity read-only.
Related: fix(repos): a missing merge setting is not drift #6875, which asks for a different change. Both address the drift Job reading merge settings; #6875 identified the false-positive and the owner decision, the candidate implements the token permission change and rename.
Activity
dan-petty commentedon Nov 23, 2026
Both address the drift Job reading merge settings; #6875 identified the false-positive and the owner decision, the candidate implements the token permission change and rename.devops-cli-service commentedon Nov 25, 2026
Released in v0.221.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.221.0
devops-cli-service commentedon Nov 25, 2026
Live since 2026-11-25 17:40 UTC