diff --git a/packages/mosaic/framework/tools/git/pr-ci-wait.sh b/packages/mosaic/framework/tools/git/pr-ci-wait.sh index 4844a21..5277bc6 100755 --- a/packages/mosaic/framework/tools/git/pr-ci-wait.sh +++ b/packages/mosaic/framework/tools/git/pr-ci-wait.sh @@ -30,12 +30,19 @@ EOF # get_remote_host and get_gitea_token are provided by detect-platform.sh extract_state_from_status_json() { - python3 - <<'PY' + # Capture piped JSON BEFORE invoking `python3 - <