diff --git a/CODEOWNERS b/CODEOWNERS index e91b740..10c025a 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,12 +1,14 @@ -# Gate files: a change to any of them waits for the maintainer's approval. -# Gitea reads this root file before docs/ and .gitea/, so no other CODEOWNERS shadows it. +# Gate files: once branch protection requires code-owner approval, a change to any of +# them waits for the maintainer's. Gitea reads this root file before docs/ and .gitea/, so no other CODEOWNERS shadows it. # Patterns are regular expressions anchored at both ends, not globs. Gitea drops one # backslash before compiling, so a literal dot is written \\. (a bare \. would match any # character). Gitea skips a line that does not compile and never reports a pattern that # matches nothing. # One owner on purpose: every matching rule needs its own owner's approval. -# Not owned on purpose: requirements-dev.txt, requirements-dev.lock and requirements.yml, -# so Renovate's pin bumps keep automerging behind the bot-diff gate; README.md; roles. +# Some patterns name paths that do not exist yet, so the file is in place before they do. +# Everything else is unowned, so role changes merge on green checks. requirements-dev.txt, +# requirements-dev.lock and requirements.yml stay unowned on purpose, so Renovate's pin +# bumps keep automerging behind the bot-diff gate. CODEOWNERS @Defame1297 \\.gitea/.* @Defame1297