diff --git a/.github/workflows/cicd_manual_publish-starter.yml b/.github/workflows/cicd_manual_publish-starter.yml index 2f243042a705..f9e471b96211 100644 --- a/.github/workflows/cicd_manual_publish-starter.yml +++ b/.github/workflows/cicd_manual_publish-starter.yml @@ -216,6 +216,15 @@ jobs: ARTIFACT_URL="${{ needs.deploy-artifacts.outputs.url }}" CHANGELOG="${{ github.event.inputs.changelog }}" PULL_REQUEST_URL="${{ needs.update-pom.outputs.pull-request-url }}" + + if [ "$STARTER_TYPE" == "empty" ]; then + PR_ALERT=$(cat <<-EOF + > + > :bangbang: Approvals required to apply the latest version of *_Empty Starter_* to the project. + > :globe_with_meridians: ${PULL_REQUEST_URL} + EOF + ) + fi BASE_MESSAGE=$(cat <<-EOF > :large_green_circle: *Attention dotters:* a new Starter published! @@ -223,20 +232,12 @@ jobs: > > :link: ${ARTIFACT_URL} > *Changelog* - > \`\`\`${CHANGELOG}\`\`\` + > \`\`\`${CHANGELOG}\`\`\` + ${PR_ALERT} EOF ) - - if [ "$STARTER_TYPE" == "empty" ]; then - PR_ALERT=$(cat <<-EOF - > - > :bangbang: Approvals required to apply the latest version of *_Empty Starter_* to the project. - > :globe_with_meridians: ${PULL_REQUEST_URL} - EOF - ) - fi - MESSAGE="${BASE_MESSAGE}${PR_ALERT}" + MESSAGE="${BASE_MESSAGE}" echo "Message: ${MESSAGE}" echo "message<> $GITHUB_OUTPUT