File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -142,16 +142,15 @@ jobs:
142142 NEW_TITLE="[Cherry-Pick] $PR_TITLE($PR_NUMBER)"
143143 fi
144144
145- NEW_BODY=$(cat <<EOF
146- Cherry-pick of # $PR_NUMBER (authored by @${PR_AUTHOR}) to \`$TARGET_BRANCH\`.
145+ NEW_BODY="Cherry-pick of #$PR_NUMBER (authored by @${PR_AUTHOR}) to \`$TARGET_BRANCH\`.
147146
148- devPR:https://github.com/PaddlePaddle/FastDeploy/pull/$PR_NUMBER <!-- For pass CI -->
147+ devPR:https://github.com/PaddlePaddle/FastDeploy/pull/$PR_NUMBER <!-- For pass CI -->
149148
150- ---
149+ ---
151150
152- $PR_BODY
153- EOF
154- )
151+ $PR_BODY"
152+ # Remove leading whitespace
153+ NEW_BODY=$(echo "$NEW_BODY" | sed 's/^[ \t]*//' )
155154
156155 # Prepare head ref for PR creation (owner:branch)
157156 HEAD_REF="${BOT_USERNAME}:${NEW_BRANCH}"
You can’t perform that action at this time.
0 commit comments