Skip to content

Commit 65ece56

Browse files
committed
fix(ci): repair two workflow startup_failures (invalid YAML indentation)
Two workflows in .github/workflows/ were YAML-invalid, so GitHub failed to compile them on every push to main (startup_failure, 0 jobs) — GitHub compiles all workflow files on push, so even the workflow_call-only changelog-reusable produced a failed push run. - boj-build.yml: two trailing steps (K9-SVC Validation, Contractile Check) had dropped to 2-space indentation, out of the 'steps:' list — re-indented to 6 spaces so they are valid steps under trigger-boj. (Addresses standards#331 'repair or retire boj-build.yml' on the repair side.) The job stays gated on 'if: vars.BOJ_SERVER_URL != ...', so it skips cleanly when unconfigured. - changelog-reusable.yml: two multi-line strings (a git commit message and a gh pr --body) had continuation lines at column 0, falling out of their 'run: |' block scalars. Rewritten as multiple -m flags / a single-line body so the block scalar stays valid. Once valid, GitHub correctly treats the file as workflow_call-only and no longer spawns a failed push run. Both validated locally with PyYAML; all 28 workflows now parse. No SPDX header or licence content touched. https://claude.ai/code/session_011xv3VLrqeXkpjXxUojKz82
1 parent aa665ac commit 65ece56

2 files changed

Lines changed: 33 additions & 37 deletions

File tree

.github/workflows/boj-build.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -47,31 +47,31 @@ jobs:
4747
--data "$payload" \
4848
|| echo "BoJ server unreachable - skipping (non-fatal)"
4949
50-
- name: K9-SVC Validation
51-
run: |
52-
echo "Running K9-SVC contractile validation..."
53-
if [ -f .machine_readable/contractiles/must/Mustfile.a2ml ]; then
54-
echo "✅ Mustfile found - running validation"
55-
# Placeholder for actual K9 validation
56-
echo "K9 validation would run here"
57-
else
58-
echo "❌ Mustfile not found"
59-
exit 1
60-
fi
61-
62-
- name: Contractile Check
63-
run: |
64-
echo "Checking contractile completeness..."
65-
contractiles=("must" "trust" "dust" "lust" "adjust" "intend")
66-
missing=0
67-
for c in "${contractiles[@]}"; do
68-
if [ ! -f ".machine_readable/contractiles/$c/${c^}file.a2ml" ]; then
69-
echo "❌ Missing: $c"
70-
missing=$((missing + 1))
71-
fi
72-
done
73-
if [ $missing -gt 0 ]; then
74-
echo "❌ $missing contractiles missing"
75-
exit 1
76-
fi
77-
echo "✅ All contractiles present"
50+
- name: K9-SVC Validation
51+
run: |
52+
echo "Running K9-SVC contractile validation..."
53+
if [ -f .machine_readable/contractiles/must/Mustfile.a2ml ]; then
54+
echo "✅ Mustfile found - running validation"
55+
# Placeholder for actual K9 validation
56+
echo "K9 validation would run here"
57+
else
58+
echo "❌ Mustfile not found"
59+
exit 1
60+
fi
61+
62+
- name: Contractile Check
63+
run: |
64+
echo "Checking contractile completeness..."
65+
contractiles=("must" "trust" "dust" "lust" "adjust" "intend")
66+
missing=0
67+
for c in "${contractiles[@]}"; do
68+
if [ ! -f ".machine_readable/contractiles/$c/${c^}file.a2ml" ]; then
69+
echo "❌ Missing: $c"
70+
missing=$((missing + 1))
71+
fi
72+
done
73+
if [ $missing -gt 0 ]; then
74+
echo "❌ $missing contractiles missing"
75+
exit 1
76+
fi
77+
echo "✅ All contractiles present"

.github/workflows/changelog-reusable.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,10 @@ jobs:
145145
echo "Nothing to commit after move (race condition)."
146146
exit 0
147147
fi
148-
git commit -m "chore(changelog): regenerate from conventional commits
149-
150-
Auto-generated by hyperpolymath/standards changelog-reusable.yml.
151-
See standards/templates/cliff.toml for the canonical config.
152-
153-
Closes part of the 2026-05-26 CHANGELOG gap (standards#197 audit)."
148+
git commit \
149+
-m "chore(changelog): regenerate from conventional commits" \
150+
-m "Auto-generated by hyperpolymath/standards changelog-reusable.yml. See standards/templates/cliff.toml for the canonical config." \
151+
-m "Closes part of the 2026-05-26 CHANGELOG gap (standards#197 audit)."
154152
git push origin HEAD:${{ github.ref_name }}
155153
156154
- name: Mode = pr-back — open PR with regenerated CHANGELOG.md
@@ -174,9 +172,7 @@ Closes part of the 2026-05-26 CHANGELOG gap (standards#197 audit)."
174172
git push -u origin "$branch"
175173
gh pr create \
176174
--title "chore(changelog): regenerate from conventional commits" \
177-
--body "Auto-generated by hyperpolymath/standards changelog-reusable.yml.
178-
179-
Closes part of the 2026-05-26 CHANGELOG gap (standards#197 audit)." \
175+
--body "Auto-generated by hyperpolymath/standards changelog-reusable.yml. Closes part of the 2026-05-26 CHANGELOG gap (standards#197 audit)." \
180176
--base "${{ github.ref_name }}" \
181177
--head "$branch"
182178

0 commit comments

Comments
 (0)