Skip to content

Commit 41e74e4

Browse files
AlexMikhalevclaude
andcommitted
fix(ci): fix performance-benchmarking.yml YAML parse error
The workflow failed at GitHub Actions validation (0s, no jobs created) because the multi-line git commit message at lines 262-265 had content at column 1, which YAML interpreted as new mappings instead of the run block continuation. Also: - Add job-level outputs declaration for performance-benchmarks job - Add step id for check-gates so outputs can be referenced downstream - Simplify commit message to single line to avoid YAML escaping issues Co-Authored-By: Terraphim AI <noreply@anthropic.com>
1 parent 6d7ca41 commit 41e74e4

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/performance-benchmarking.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
name: Performance Benchmarks
3636
runs-on: ubuntu-latest
3737
timeout-minutes: 30
38+
outputs:
39+
slo-compliance: ${{ steps.check-gates.outputs.slo-compliance }}
40+
performance-gates-passed: ${{ steps.check-gates.outputs.performance-gates-passed }}
3841

3942
steps:
4043
- name: Checkout code
@@ -140,6 +143,7 @@ jobs:
140143
fi
141144
142145
- name: Check performance gates
146+
id: check-gates
143147
run: |
144148
# Check if benchmark results meet performance requirements
145149
if [ -f "benchmark-results/*/benchmark_results.json" ]; then
@@ -259,9 +263,6 @@ jobs:
259263
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
260264
261265
git add benchmark-results/baseline.json
262-
git commit -m "chore: update performance baseline
263-
264-
Auto-updated from CI run: ${{ github.run_id }}
265-
SLO Compliance: ${{ needs.performance-benchmarks.outputs.slo-compliance }}%" || echo "No changes to commit"
266+
git commit -m "chore: update performance baseline [run ${{ github.run_id }}]" || echo "No changes to commit"
266267
267268
git push origin main

0 commit comments

Comments
 (0)