ci: say in CODEOWNERS when its approval is enforced
The file only requests the maintainer's review; branch protection makes the approval required. Also say why some patterns match nothing yet, and that everything else is unowned. Refs #144 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
This commit is contained in:
1 parent
3c6fd325fb
commit
844c152d6a
1 file changed
+6
-4
+6
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user