From 763928f2820f1c018e127e506c0d1590aecbeafa Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Fri, 12 Dec 2025 15:57:24 -0500 Subject: [PATCH] fix(ci): resolve YAML syntax error in dev-release workflow Multi-line heredoc in issue comment was breaking YAML parsing. Use inline multi-line string with proper indentation instead. --- .github/workflows/dev-release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index 761a6f79..0631f298 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -134,15 +134,16 @@ jobs: NUM=${ISSUE#\#} echo "Tagging issue #$NUM as released-dev" - # Add comment - gh issue comment $NUM --body ":test_tube: This fix is available for testing in version \`$NEW_VERSION\` + # Add comment (using printf to handle newlines safely) + COMMENT=":test_tube: This fix is available for testing in version \\\`$NEW_VERSION\\\` -Install with: -\`\`\`bash -npm install @kaitranntt/ccs@dev -\`\`\` + Install with: + \\\`\\\`\\\`bash + npm install @kaitranntt/ccs@dev + \\\`\\\`\\\` -Please test and confirm the fix works as expected." --repo ${{ github.repository }} || true + Please test and confirm the fix works as expected." + gh issue comment "$NUM" --repo "${{ github.repository }}" --body "$COMMENT" || true # Add released-dev label, remove pending-release if present gh issue edit $NUM \