mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-05 18:16:28 +00:00
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.
This commit is contained in:
@@ -134,15 +134,16 @@ jobs:
|
|||||||
NUM=${ISSUE#\#}
|
NUM=${ISSUE#\#}
|
||||||
echo "Tagging issue #$NUM as released-dev"
|
echo "Tagging issue #$NUM as released-dev"
|
||||||
|
|
||||||
# Add comment
|
# Add comment (using printf to handle newlines safely)
|
||||||
gh issue comment $NUM --body ":test_tube: This fix is available for testing in version \`$NEW_VERSION\`
|
COMMENT=":test_tube: This fix is available for testing in version \\\`$NEW_VERSION\\\`
|
||||||
|
|
||||||
Install with:
|
Install with:
|
||||||
\`\`\`bash
|
\\\`\\\`\\\`bash
|
||||||
npm install @kaitranntt/ccs@dev
|
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
|
# Add released-dev label, remove pending-release if present
|
||||||
gh issue edit $NUM \
|
gh issue edit $NUM \
|
||||||
|
|||||||
Reference in New Issue
Block a user