Repository navigation
fix(repos): onboard requires the checks of github/repository.yaml - #7446
Merged
Merged
Conversation
Row 10 of devops repos onboard reads the github/repository.yaml of the default branch of the repository, checks it against the schema of the template, and merges the required checks rule of its ruleset main into the ruleset of the baseline. The file wins for each parameter of the rule that it sets and for the entry of each check that it names. The checks of the live ruleset and of the template pull request stay. Change: openspec/changes/archive/2026-11-27-7423-onboard-repo-required-checks
dan-petty
force-pushed
the
fix/7423-onboard-repo-required-checks
branch
from
November 27, 2026 17:03
06e5d97 to
95e2c31
Compare
Owner
Author
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46038768863/job/140640816731 Skipped check: Trivy |
dan-petty
marked this pull request as ready for review
November 27, 2026 17:12
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 27, 2026
🤖 I have created a release *beep* *boop* --- ## [0.228.1](v0.228.0...v0.228.1) (2026-11-27) ### Bug Fixes * **infra:** add the push-secrets row of the infra-drift SSH key ([#7434](#7434)) ([c78b3cd](c78b3cd)) * **repos:** onboard requires the checks of github/repository.yaml ([#7446](#7446)) ([3067d6c](3067d6c)) --- 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>
This was referenced Nov 28, 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.
Row 10 of
devops repos onboardnow requires the checks that the repository declares in its owngithub/repository.yaml. Before,--plandid not show them and--confirmdid not add them.The row reads that file on the default branch and checks it against the schema of the template. Its required checks rule merges into the baseline ruleset of the same name: the file wins for each parameter that it sets and for the entry of each check that it names. The checks of the live ruleset and of the template pull request stay, so no check is removed. The live read stays, because the checks of the template pull request (D3) exist only in the live ruleset after its merge. A file that does not load or that the schema refuses makes only row 10
not readable. The plan sends one more GET and no write.Closes #7423
Change:
openspec/changes/archive/2026-11-27-7423-onboard-repo-required-checks/