Skip to content

fix(repos): onboard requires the checks of github/repository.yaml - #7446

Merged
dan-petty merged 2 commits into
mainfrom
fix/7423-onboard-repo-required-checks
Nov 27, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7423-onboard-repo-required-checks

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Row 10 of devops repos onboard now requires the checks that the repository declares in its own github/repository.yaml. Before, --plan did not show them and --confirm did 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/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/repos The devops repos commands and worktrees labels Nov 27, 2026
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
dan-petty force-pushed the fix/7423-onboard-repo-required-checks branch from 06e5d97 to 95e2c31 Compare November 27, 2026 17:03
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: 95e2c313e83c8bdd2630c2b390caa569c0a221fc

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy neutral run
Changed-Test Independence success run
Plan Check skipped run
CodeQL success run
Dependency Freshness skipped run
Tests on Main skipped run
Test Job Duration skipped run
Changed-Test Independence (run 3 of 3) success run
Changed-Test Independence (run 1 of 3) success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Tests & Coverage (shard 2 of 5) success run
Tests & Coverage (shard 1 of 5) success run
Changed-Test Independence (run 2 of 3) success run
Service Image success run
Static Analysis success run
Tests & Coverage (shard 5 of 5) success run
Design Tokens success run
Runner Image success run
Docs Site Build success run
Fail-to-Pass Check success run
Semantic PR title success run
Analyze (actions) success run
Analyze (python) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/46038768863/job/140640816731

Skipped check: Trivy
Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 27, 2026 17:12
@dan-petty
dan-petty merged commit 3067d6c into main Nov 27, 2026
28 checks passed
@dan-petty
dan-petty deleted the fix/7423-onboard-repo-required-checks branch November 27, 2026 17:14
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/repos The devops repos commands and worktrees type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(repos): onboard ignores the repo's own required checks

1 participant