Skip to content

docs(spec): plan #7497 apply settings in CI after the owner approves - #7540

Merged
dan-petty merged 2 commits into
mainfrom
refactor/7497-onboard-settings-apply-flow
Nov 28, 2026
Merged

dan-petty merged 2 commits into
mainfrom
refactor/7497-onboard-settings-apply-flow

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The owner accepted one change to the plan of #7521: CI applies the GitHub settings, and the owner approves each apply with one click. GitHub gives required reviewers only to public repositories on the Free, Pro and Team plans, so the root of the public repositories moves to dan-petty/infra, and the private repositories get their own root in dan-petty/homelab, which the same approved job applies. A pull request gets tofu plan -refresh=false as a tfcmt comment. A push to main runs the apply in environment github-settings, which alone holds the writer App key. The jobs run on a runner scale set of infra in the cluster, because GitHub-hosted runners cannot reach the state in tofu-state. ADR 0041 (still proposed) now also amends ADR 0032 section 8. The build items are dan-petty/infra#240 to #243, dan-petty/homelab#642 and #643, #7534 and dan-petty/github-workflows#11.

Refs #7497

Plans #7497

Change: openspec/changes/7497-onboard-settings-opentofu/

@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/spec labels Nov 28, 2026
@devops-cli-service devops-cli-service Bot added the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 28, 2026
@devops-cli-service

devops-cli-service Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

The plan check of this pull request passes again on the default branch. The drift row removes the label verdict/fix-plan only when it added the label and the last plan comment lists no open finding.

…r approves

ADR 0041 (proposed) moves the root of the public repositories to dan-petty/infra, keeps a private root in dan-petty/homelab, and applies both in environment github-settings, whose required reviewer is the owner. It also amends ADR 0032 section 8.

Refs #7497
@dan-petty
dan-petty force-pushed the refactor/7497-onboard-settings-apply-flow branch from 90169c6 to 7e14503 Compare November 28, 2026 18:53
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 19:01
@devops-cli-service devops-cli-service Bot removed the verdict/fix-plan Verdict Needs fix of a plan: an open finding keeps the plan in draft until a fix label Nov 28, 2026
@dan-petty
dan-petty merged commit 3228cb8 into main Nov 28, 2026
27 checks passed
@dan-petty
dan-petty deleted the refactor/7497-onboard-settings-apply-flow branch November 28, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant