fix: correct YAML formatting for heredoc in PR body generation

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-09 01:35:12 +00:00
parent b619b39dde
commit a12da2ad57

View File

@@ -639,16 +639,20 @@ jobs:
PR_TITLE="${PR_TITLE} (${VERSION_TEXT})"
fi
cat > /tmp/pr_body.txt <<EOF
Automated pull request created for version branch \`${BRANCH_NAME}\`.
Version: ${NEW_VERSION}
Version Text: ${VERSION_TEXT:-N/A}
Branch Prefix: ${BRANCH_PREFIX}
Base Branch: ${BASE_BRANCH}
cat > /tmp/pr_body.txt <<'PRBODY'
Automated pull request created for version branch.
This PR was automatically created by the version branch workflow.
EOF
PRBODY
# Add dynamic content
{
echo ""
echo "Version: ${NEW_VERSION}"
echo "Version Text: ${VERSION_TEXT:-N/A}"
echo "Branch Prefix: ${BRANCH_PREFIX}"
echo "Base Branch: ${BASE_BRANCH}"
} >> /tmp/pr_body.txt
echo "[INFO] Creating pull request from ${BRANCH_NAME} to ${BASE_BRANCH}"