diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..e91b740 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,35 @@ +# 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. +# 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. + +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 diff --git a/galaxy.yml b/galaxy.yml index a22713a..cc58577 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -44,6 +44,7 @@ build_ignore: - .ansible-lint - .ansible-lint-ignore - CLAUDE.md + - CODEOWNERS - CONTRIBUTING.md - GLOSSARY.md - SECURITY.md diff --git a/scripts/select_molecule_scenarios.py b/scripts/select_molecule_scenarios.py index 9b91bf8..c71bd9a 100644 --- a/scripts/select_molecule_scenarios.py +++ b/scripts/select_molecule_scenarios.py @@ -63,6 +63,7 @@ IGNORED = ( "SECURITY.md", "GLOSSARY.md", "CLAUDE.md", + "CODEOWNERS", "CHANGELOG.rst", "COPYING", "NOTICE",