security: use Gitea regexp CODEOWNERS rules

This commit is contained in:
inference-admin committed 2026-11-19 23:52:30 +00:00
1 parent eaaa615c73
commit 279886fd83
1 file changed
+4 -3
+4 -3
View File
@@ -2,6 +2,7 @@
# A change here runs repository code during the build (publishing/hooks.py, # A change here runs repository code during the build (publishing/hooks.py,
# build.sh) and controls what gets deployed. Require an Owners review before # build.sh) and controls what gets deployed. Require an Owners review before
# merge — CODEOWNERS review enforcement is enabled on main. # merge — CODEOWNERS review enforcement is enabled on main.
/publishing/ @co-op/owners # Gitea CODEOWNERS uses Go regexp (not glob); anchor each rule.
/mkdocs.yml @co-op/owners ^publishing/.* @co-op/owners
/.woodpecker.yml @co-op/owners ^mkdocs\.yml$ @co-op/owners
^\.woodpecker\.yml$ @co-op/owners