fix(windows-wsus): declare the repo's explicit CODEOWNERS surfaces - #59
Open
NWarila wants to merge 1 commit into
Open
fix(windows-wsus): declare the repo's explicit CODEOWNERS surfaces#59NWarila wants to merge 1 commit into
NWarila wants to merge 1 commit into
Conversation
The org-wide repo_default_codeowners fallback flattened windows-wsus's CODEOWNERS to the single general rule, but that repository's required gate asserts exact ownership of its automation and security surfaces, so protected main went permanently red the moment the sync landed. Per-repo codeowners is the documented override for exactly this case; the block restores the previous seven-rule file verbatim, and the next sync makes the repository self-consistent again.
NWarila
enabled auto-merge (squash)
August 10, 2026 15:16
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.
The org default
repo_default_codeowners = "* @NWarila"overwrote windows-wsus's CODEOWNERS on sync (chore(codeowners): sync CODEOWNERS via terraform, windows-wsus5e9a4ad). That repository's required gate —scripts/check-workflow-trigger.sh— asserts the exact seven-rule ownership of its automation/security surfaces, so its protected main is now failing its own required check on every PR.Per-repo
codeowners:is the documented override forrepo_default_codeowners(precedence 1, used verbatim). This declares the previous seven-rule file byte-for-byte so the next sync restores the repository to self-consistency.Worth a follow-up sweep: any sibling repo that pins its CODEOWNERS content in a gate (the pattern was cloned from secure-wazuh) has the same exposure.