Merge remote-tracking branch 'gitea-ssh/main' into codex/p0-product-manifest-standard-20260629

# Conflicts:
#	scripts/security/tests/test_gitea_authenticated_inventory_payload_validator.py
This commit is contained in:
Your Name
2026-06-29 16:06:41 +08:00

View File

@@ -14,7 +14,13 @@ def run_validator(path: Path | None = None, *, cwd: Path | None = None) -> dict:
command = [sys.executable, str(SCRIPT)]
if path:
command.extend(["--input", str(path)])
result = subprocess.run(command, cwd=cwd, text=True, capture_output=True, check=True)
result = subprocess.run(
command,
cwd=cwd or ROOT / "apps/api",
text=True,
capture_output=True,
check=True,
)
return json.loads(result.stdout)