Onboard talos-cluster: rulesets in-band + required checks (P0.3) - #79
Open
NWarila wants to merge 1 commit into
Open
Onboard talos-cluster: rulesets in-band + required checks (P0.3)#79NWarila wants to merge 1 commit into
NWarila wants to merge 1 commit into
Conversation
…ired checks (P0.3) Brings nwarila-platform/talos-cluster under Terraform management so its repo settings and the Branch Safety / Pull Request Gate / Release Tag Protection rulesets are managed in-band instead of configured out-of-band in the GitHub UI. The framework default rulesets were verified 2026-07-12 to match the repo's current manual rulesets exactly (signing + linear history + squash-only + code-owner review + admin bypass), so adoption preserves all protection. Adds required_status_checks using only checks that run on every PR (Config Audit, Gitleaks Secret Scan, org-adr / verify); path-filtered Validate checks are Phase 2. Existing-repo adoption: the runner must terraform import the repository (and the rulesets if adopting) before the first apply; the plan on this PR is the drift gate.
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.
Onboards
nwarila-platform/talos-clusterinto the framework (P0.3) so its repo settings + the Branch Safety / Pull Request Gate / Release Tag Protection rulesets are Terraform-managed in-band, and adds enforced required status checks.Config Audit,Gitleaks Secret Scan,org-adr / verify— only checks that run on every PR. Path-filteredValidatechecks deferred to Phase 2 (need an always-reports gate in validate.yaml, else doc-only PRs block).unmanaged(already enabled).terraform import github_repository.repo["talos-cluster"](+ the 3 rulesets if adopting) before first apply. The terraform plan here is the drift gate — review before applying.