From 78cb9c87d8d0136ad395c990ea1a06bddb08d42d Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Tue, 28 Jul 2026 19:39:36 +0100 Subject: [PATCH] =?UTF-8?q?fix(ci):=20repair=20instant-sync.yml=20?= =?UTF-8?q?=E2=80=94=20GitHub=20cannot=20parse=20it,=20so=20it=20has=20nev?= =?UTF-8?q?er=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This workflow file is invalid YAML. GitHub refuses it at parse time, so it produces NO run, NO check-run, NO annotation and NO log. Not a red X — an absence. Nothing on a dashboard distinguishes "this gate passed" from "this gate does not exist", which is why it went unnoticed. The tell is the Actions API reporting the workflow's name as its FILE PATH instead of its `name:` — GitHub registers a file it cannot parse under its path: name = ".github/workflows/instant-sync.yml" path = ".github/workflows/instant-sync.yml" <- name == path The repair is purely positional; no step, command or argument is altered. Depending on the file it is one of: * a step appended at JOB level (2-space indent) moved back inside the preceding job's `steps:` list; or * a multi-line shell string whose continuation fell out of its `run: |` block scalar, re-indented so it stays inside. YAML strips that indent again when parsing, so the shell receives the identical string. VERIFIED before push, not assumed: * the file parses and yields a `jobs:` mapping; * every `- name:` present before is still a step after; * exactly one file changed. Part of a measured estate-wide repair: 211 invalid workflow files across 116 repos, confirmed by the Actions API. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/instant-sync.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/instant-sync.yml b/.github/workflows/instant-sync.yml index 855f093..ed43907 100644 --- a/.github/workflows/instant-sync.yml +++ b/.github/workflows/instant-sync.yml @@ -34,7 +34,7 @@ jobs: - name: Confirm run: echo "::notice::Propagation triggered for ${{ github.event.repository.name }}" - - name: K9-SVC Validation - run: | - echo "K9-SVC validation" - [ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles" + - name: K9-SVC Validation + run: | + echo "K9-SVC validation" + [ -d .machine_readable/contractiles ] && echo "Contractiles present" || echo "No contractiles"