ci: require maintainer review for gate files through CODEOWNERS #278
No files matched your search
+37
@@ -0,0 +1,37 @@
|
||||
# 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.
|
||||
# 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
|
||||
scripts/.* @Defame1297
|
||||
images/.* @Defame1297
|
||||
tests/scripts/.* @Defame1297
|
||||
tests/sanity/ignore-.*\\.txt @Defame1297
|
||||
renovate\\.json @Defame1297
|
||||
\\.pre-commit-config\\.yaml @Defame1297
|
||||
\\.ansible-lint(-ignore)? @Defame1297
|
||||
\\.yamllint @Defame1297
|
||||
ruff\\.toml @Defame1297
|
||||
REUSE\\.toml @Defame1297
|
||||
changelogs/config\\.yaml @Defame1297
|
||||
galaxy\\.yml @Defame1297
|
||||
docs/adr/.* @Defame1297
|
||||
docs/contributing/.* @Defame1297
|
||||
docs/agents/.* @Defame1297
|
||||
CONTRIBUTING\\.md @Defame1297
|
||||
SECURITY\\.md @Defame1297
|
||||
GLOSSARY\\.md @Defame1297
|
||||
(.*/)?AGENTS\\.md @Defame1297
|
||||
\\.claude/.* @Defame1297
|
||||
apm\\.yml @Defame1297
|
||||
apm\\.lock\\.yaml @Defame1297
|
||||
\\.mcp\\.json @Defame1297
|
||||
@@ -44,6 +44,7 @@ build_ignore:
|
||||
- .ansible-lint
|
||||
- .ansible-lint-ignore
|
||||
- CLAUDE.md
|
||||
- CODEOWNERS
|
||||
- CONTRIBUTING.md
|
||||
- GLOSSARY.md
|
||||
- SECURITY.md
|
||||
|
||||
@@ -63,6 +63,7 @@ IGNORED = (
|
||||
"SECURITY.md",
|
||||
"GLOSSARY.md",
|
||||
"CLAUDE.md",
|
||||
"CODEOWNERS",
|
||||
"CHANGELOG.rst",
|
||||
"COPYING",
|
||||
"NOTICE",
|
||||
|
||||
Reference in new issue
Block a user