fix(governance): align inventory with runtime image
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
ogt
2026-07-11 09:59:39 +08:00
parent 0c85209ea1
commit 847dfd4535
3 changed files with 26 additions and 3 deletions

View File

@@ -21,11 +21,26 @@ IN_PROGRESS_PYTHON_PATHS = {
"run_scheduler.py",
}
IGNORED_PARTS = {
".claude",
".docker",
".git",
".gitea",
".github",
".pytest_cache",
".venv",
"__pycache__",
"aiops-core",
"backups",
"data",
"docs",
"k8s",
"logs",
"memory",
"n8n-workflows",
"node_modules",
"runtime_artifacts",
"secrets",
"ssl",
"tests",
"venv",
}
@@ -36,8 +51,6 @@ def _iter_python_files(root: Path) -> Iterable[Path]:
relative = path.relative_to(root)
if any(part in IGNORED_PARTS for part in relative.parts):
continue
if relative.parts[:2] in {("docs", "design"), ("docs", "design_audit_frontend")}:
continue
yield path