The python3 inline script in wait-approval was written at column 0 (lines
257-283), but YAML block scalars require content to be more indented than
the parent key. YAML exited the run: | block at the first column-0 line
('import json, re, sys') and tried to parse the python as YAML, failing
with 'could not find expected :' at line 257 — which prevented
pr-iphone-deploy.yml from running at all on PR #13.
Fix: indent the entire python3 -c body to sit inside the run: | block.
Verified locally:
- yaml.safe_load parses the workflow cleanly (jobs: changes, build-deploy,
wait-approval; trigger paths removed; both gates wired).
- The extracted python script, run exactly as act will execute it, returns:
bot-only -> PENDING (was self-merging before)
bot + reviewer LGTM -> LGTM (squash-merge still fires)
bot + reviewer KO -> KO (block still fires)
Description
No description provided