From c65e49da0b2800df68664202f5e532225b00d50c Mon Sep 17 00:00:00 2001 From: fullstackjam Date: Tue, 2 Jun 2026 23:40:41 +0800 Subject: [PATCH] fix: pass jobs_json via env var to fix stdin conflict in drift-to-issue --- .github/workflows/drift-to-issue.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/drift-to-issue.yml b/.github/workflows/drift-to-issue.yml index 5d6bd13..4a1b33a 100644 --- a/.github/workflows/drift-to-issue.yml +++ b/.github/workflows/drift-to-issue.yml @@ -43,10 +43,10 @@ jobs: # For each failed job, ensure a single open tracking issue # exists. Title format `[harness-drift] ` makes # updates idempotent. - echo "$jobs_json" | python3 - <<'PY' - import json, os, subprocess, sys + JOBS_JSON="$jobs_json" python3 - <<'PY' + import json, os, subprocess - jobs = json.loads(sys.stdin.read())["jobs"] + jobs = json.loads(os.environ["JOBS_JSON"])["jobs"] run_url = os.environ["RUN_URL"] for job in jobs: