Skip to content

Commit 5b59d0a

Browse files
committed
fix: replace FOOTEREOF heredoc with echo calls to avoid YAML parse error
The heredoc content starting with '---' at column 0 was being interpreted by the YAML parser as a document separator, terminating the run block scalar early and causing a syntax error on line 412.
1 parent 75cc347 commit 5b59d0a

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/openclaw-upgrade-check.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -406,17 +406,17 @@ jobs:
406406
cat >> "$PR_BODY_FILE" <<'RELEASEEOF'
407407
${{ needs.check-version.outputs.release_notes }}
408408
RELEASEEOF
409-
cat >> "$PR_BODY_FILE" <<'FOOTEREOF'
410-
411-
---
412-
**This is an automated version bump. Only the Dockerfile was changed.**
413-
If release notes mention config/schema changes, manual review is required.
414-
Do not merge if there are known regressions above.
415-
416-
<details><summary>Docker test output</summary>
417-
418-
```
419-
FOOTEREOF
409+
{
410+
echo ''
411+
echo '---'
412+
echo '**This is an automated version bump. Only the Dockerfile was changed.**'
413+
echo 'If release notes mention config/schema changes, manual review is required.'
414+
echo 'Do not merge if there are known regressions above.'
415+
echo ''
416+
echo '<details><summary>Docker test output</summary>'
417+
echo ''
418+
echo '```'
419+
} >> "$PR_BODY_FILE"
420420
cat >> "$PR_BODY_FILE" <<'TESTLOGEOF'
421421
${{ needs.docker-tests.outputs.test_log }}
422422
TESTLOGEOF

0 commit comments

Comments
 (0)