fix(ci): repair JSON validation syntax, add repo-truth guard, copy robots.txt/index.html in Dockerfile

This commit is contained in:
2026-04-07 14:23:56 +00:00
parent 33a1c7ae6a
commit 6ae9547145
3 changed files with 119 additions and 6 deletions

View File

@@ -52,7 +52,7 @@ jobs:
run: |
FAIL=0
for f in $(find . -name '*.json' -not -path './venv/*'); do
if ! python3 -c "import json; json.load(open('$f'))"; then
if ! python3 -c "import json; json.load(open('$f'))" 2>/dev/null; then
echo "FAIL: $f"
FAIL=1
else
@@ -60,11 +60,10 @@ jobs:
fi
done
exit $FAIL
else
echo "OK: $f"
fi
done
exit $FAIL
- name: Repo Truth Guard
run: |
python3 scripts/repo_truth_guard.py
- name: Validate YAML
run: |