Skip to content

Commit add3343

Browse files
committed
fix(ci): repair boj-build.yml startup_failure (missed by #360)
#360 added timeout-minutes estate-wide and fixed changelog-reusable.yml, but could not touch boj-build.yml because it does not parse: two trailing steps (K9-SVC Validation, Contractile Check) had dropped to 2-space indentation, out of the 'steps:' list, so GitHub fails to compile it on every push (startup_failure, 0 jobs). Re-indent those steps to 6 spaces and add the job-level timeout-minutes the estate convention expects. The job stays gated on 'if: vars.BOJ_SERVER_URL != ...', so it skips cleanly when unconfigured. Validated with PyYAML. Addresses the repair side of standards#331. No SPDX header or licence content touched. https://claude.ai/code/session_011xv3VLrqeXkpjXxUojKz82
1 parent 6cd3772 commit add3343

1 file changed

Lines changed: 29 additions & 28 deletions

File tree

.github/workflows/boj-build.yml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions:
1818
jobs:
1919
trigger-boj:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 10
2122
if: ${{ vars.BOJ_SERVER_URL != '' || secrets.BOJ_SERVER_URL != '' }}
2223
steps:
2324
- name: Checkout
@@ -47,31 +48,31 @@ jobs:
4748
--data "$payload" \
4849
|| echo "BoJ server unreachable - skipping (non-fatal)"
4950
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"
51+
- name: K9-SVC Validation
52+
run: |
53+
echo "Running K9-SVC contractile validation..."
54+
if [ -f .machine_readable/contractiles/must/Mustfile.a2ml ]; then
55+
echo "✅ Mustfile found - running validation"
56+
# Placeholder for actual K9 validation
57+
echo "K9 validation would run here"
58+
else
59+
echo "❌ Mustfile not found"
60+
exit 1
61+
fi
62+
63+
- name: Contractile Check
64+
run: |
65+
echo "Checking contractile completeness..."
66+
contractiles=("must" "trust" "dust" "lust" "adjust" "intend")
67+
missing=0
68+
for c in "${contractiles[@]}"; do
69+
if [ ! -f ".machine_readable/contractiles/$c/${c^}file.a2ml" ]; then
70+
echo "❌ Missing: $c"
71+
missing=$((missing + 1))
72+
fi
73+
done
74+
if [ $missing -gt 0 ]; then
75+
echo "❌ $missing contractiles missing"
76+
exit 1
77+
fi
78+
echo "✅ All contractiles present"

0 commit comments

Comments
 (0)