From f07b2cf729c6c4bef430e6770a74f673d7dd641a Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 24 Jan 2026 19:33:23 +0000 Subject: [PATCH] Fix YAML syntax error in release workflow template string The multi-line bash string for UNRELEASED_TEMPLATE had content starting at column 0, which broke YAML literal block parsing. Using printf to build the template keeps proper YAML indentation. --- .github/workflows/create-release.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 0a81d368..69e3847f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -41,17 +41,12 @@ jobs: DATE=$(date +%Y-%m-%d) # Create the new Unreleased section template - UNRELEASED_TEMPLATE="## [Unreleased] - -### Added - -### Changed - -### Fixed - -### Removed - -" + UNRELEASED_TEMPLATE=$(printf '%s\n\n%s\n\n%s\n\n%s\n\n%s\n\n' \ + '## [Unreleased]' \ + '### Added' \ + '### Changed' \ + '### Fixed' \ + '### Removed') # Read the current changelog CHANGELOG=$(cat CHANGELOG.md)