From 9a53a947fb028240e27f366625f710c2d7d057a9 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Tue, 30 Dec 2025 15:07:18 -0600 Subject: [PATCH] Update repo_health.yml --- .github/workflows/repo_health.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/repo_health.yml b/.github/workflows/repo_health.yml index a989e21..e683df7 100644 --- a/.github/workflows/repo_health.yml +++ b/.github/workflows/repo_health.yml @@ -692,25 +692,25 @@ jobs: export CONTENT_WARNINGS="$(printf '%s\n' "${content_warnings[@]:-}")" report_json="$(python3 - <<'PY' -import json -import os + import json + import os -profile = os.environ.get("PROFILE_RAW") or "all" + profile = os.environ.get("PROFILE_RAW") or "all" -missing_required = os.environ.get("MISSING_REQUIRED", "").splitlines() if os.environ.get("MISSING_REQUIRED") else [] -missing_optional = os.environ.get("MISSING_OPTIONAL", "").splitlines() if os.environ.get("MISSING_OPTIONAL") else [] -content_warnings = os.environ.get("CONTENT_WARNINGS", "").splitlines() if os.environ.get("CONTENT_WARNINGS") else [] + missing_required = os.environ.get("MISSING_REQUIRED", "").splitlines() if os.environ.get("MISSING_REQUIRED") else [] + missing_optional = os.environ.get("MISSING_OPTIONAL", "").splitlines() if os.environ.get("MISSING_OPTIONAL") else [] + content_warnings = os.environ.get("CONTENT_WARNINGS", "").splitlines() if os.environ.get("CONTENT_WARNINGS") else [] -out = { - "profile": profile, - "missing_required": [x for x in missing_required if x], - "missing_optional": [x for x in missing_optional if x], - "content_warnings": [x for x in content_warnings if x], -} + out = { + "profile": profile, + "missing_required": [x for x in missing_required if x], + "missing_optional": [x for x in missing_optional if x], + "content_warnings": [x for x in content_warnings if x], + } -print(json.dumps(out, indent=2)) -PY -)" + print(json.dumps(out, indent=2)) + PY + )" { printf '%s\n' "### Guardrails repository health"