From ce0c0663086214a0749d5e798b0d057c247d3a99 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Mon, 11 May 2026 01:35:39 +0800 Subject: [PATCH] Fix diagnostics workflow heredoc indentation --- .github/workflows/diagnose.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/diagnose.yml b/.github/workflows/diagnose.yml index 6f71c51..f48170f 100644 --- a/.github/workflows/diagnose.yml +++ b/.github/workflows/diagnose.yml @@ -101,15 +101,15 @@ jobs: date -u || true sudo docker exec ib-gateway bash -lc 'date -u || true' || true sudo docker exec ib-gateway bash -lc 'python3 - <<'"'"'PY'"'"' -import os -import time - -print("container_epoch", int(time.time())) -if os.environ.get("TOTP_SECRET"): - print("totp_seconds_remaining", 30 - (int(time.time()) % 30)) -else: - print("totp_secret_present", False) -PY' || true + import os + import time + + print("container_epoch", int(time.time())) + if os.environ.get("TOTP_SECRET"): + print("totp_seconds_remaining", 30 - (int(time.time()) % 30)) + else: + print("totp_secret_present", False) + PY' || true section "docker compose ps" sudo docker compose ps || true