From af97626b12d32f2288e6545e5b2253a2bf7fe331 Mon Sep 17 00:00:00 2001 From: Waters Church Date: Thu, 24 Sep 2026 15:39:08 -0400 Subject: [PATCH] Fix the build workflow's YAML so it actually runs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The alert steps passed their message body as a bare multi-line argument starting at column 0. That ends the YAML block scalar, which makes the whole file invalid: "a multiline key may not be an implicit key". Gitea still listed the workflow as active and simply never created a run for it — no error anywhere, which is why two pushes appeared to do nothing. The bodies are built with indented heredocs now, so every line stays inside the block scalar. Validated by parsing the file rather than by eye; a workflow that is registered but silently never triggers looks exactly like one that works. Co-Authored-By: Claude Opus 5 --- .gitea/workflows/build-apps.yml | 41 ++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/build-apps.yml b/.gitea/workflows/build-apps.yml index 2d2a6ec..e9ca41a 100644 --- a/.gitea/workflows/build-apps.yml +++ b/.gitea/workflows/build-apps.yml @@ -96,32 +96,41 @@ jobs: if: success() run: | export PATH="/usr/local/bin:$PATH" - APP="$HOME/checklist-app" - cd "$APP" + cd "$HOME/checklist-app" V="$(node -e 'const c=require("./mobile/release.config.json");console.log(`${c.version} (ios build ${c.iosBuild}, android code ${c.androidVersionCode})`)')" - node scripts/alert.js "Apps rebuilt and waiting — shipped versions are now behind" \ -"A change landed that the iOS and Android apps bundle, so they were rebuilt on the -ingest Mac. Both built cleanly and are signed and ready. + # The body is built with a heredoc rather than a bare multi-line argument: an + # argument that starts at column 0 ends the YAML block scalar and makes this whole + # file unparseable, which Gitea reports only by silently never running it. + BODY="$(cat <