Repository navigation
fix(repos): a field that GitHub leaves out is not drift - #6878
Merged
Merged
Conversation
Rows 2 and 10 of devops repos onboard compare only the top-level keys that the reply holds. A key that the reply does not hold, such as a merge setting for a token without Contents write, is unknown: with no other difference the row is not readable, with a reason and a person step (#6875).
… and 10 GitHub gives the merge settings and bypass_actors only to a write permission, so the read token of the drift Job cannot read them (#6875).
dan-petty
marked this pull request as ready for review
November 23, 2026 13:38
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 23, 2026
🤖 I have created a release *beep* *boop* --- ## [0.201.2](v0.201.1...v0.201.2) (2026-11-23) ### Bug Fixes * **repos:** a field that GitHub leaves out is not drift ([#6878](#6878)) ([ca2cc95](ca2cc95)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
2 tasks
Owner
Author
|
Hold the merge: the owner decision of 2026-11-23 (#6875) adds Contents write and Administration write to the token of the drift Job, and that change goes into this pull request next. The PR was marked ready on its first head by mistake; the coordinator marks it ready again when the new head passes its checks. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rows 2 and 10 of
devops repos onboardcompare only the top-level keys that the reply of GitHub holds. A key that the reply does not hold is unknown, not a difference. With no other difference, the row isnot readable: the reason names the keys, and a person step names the permission anddevops repos onboard <repo> --plan --only <row>.GitHub gives the merge settings only to a token with Contents write, and
bypass_actorsof a ruleset only to a token with write access to the ruleset. The read token of the nightly drift Job has neither, so it reported row 2 of each repository aspending. No read permission gives these fields, soCONST_GITHUB_APP_READ_TOKEN_PERMISSIONSdoes not change. Row 3 has no such field.Closes #6875
Change:
openspec/changes/archive/2026-11-23-6875-onboard-missing-field-not-drift/