Skip to content

fix: resolve YAML syntax error in continuous-learning workflow#172

Merged
jeremyeder merged 2 commits intoambient-code:mainfrom
jeremyeder:fix/continuous-learning-yaml-syntax
Dec 5, 2025
Merged

fix: resolve YAML syntax error in continuous-learning workflow#172
jeremyeder merged 2 commits intoambient-code:mainfrom
jeremyeder:fix/continuous-learning-yaml-syntax

Conversation

@jeremyeder
Copy link
Copy Markdown
Contributor

Summary

  • Fixed YAML syntax error on line 111 of .github/workflows/continuous-learning.yml
  • Replaced multiline commit message string with multiple -m flags
  • Maintains exact same commit message format while avoiding YAML parsing issues

Problem

The workflow was failing with:

You have an error in your yaml syntax on line 111

The multiline string inside the git commit -m "..." command broke YAML parsing due to blank lines and special characters.

Solution

Used multiple -m flags instead:

git commit -m "title" \
           -m "" \
           -m "body line 1" \
           -m "" \
           -m "footer"

Each -m flag adds a paragraph, and -m "" creates blank lines between paragraphs.

Testing

  • ✅ Pre-commit YAML validation passes
  • ✅ All other pre-commit hooks pass
  • ✅ Commit message format preserved

References

🤖 Generated with Claude Code

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant