diff --git a/tools/actions/commit-queue.sh b/tools/actions/commit-queue.sh index 0df819e47ee825..7778e07fe4bd03 100755 --- a/tools/actions/commit-queue.sh +++ b/tools/actions/commit-queue.sh @@ -19,7 +19,7 @@ commit_queue_failed() { # shellcheck disable=SC2154 cqurl="${GITHUB_SERVER_URL}/${OWNER}/${REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" - body="Commit Queue failed$(cat output)$cqurl" + body="Commit Queue failed$(sed -e 's/&/\&/g' -e 's/\</g' -e 's/>/\>/g' output)$cqurl" echo "$body" gh pr comment "$pr" --body "$body"
$(cat output)
$(sed -e 's/&/\&/g' -e 's/\</g' -e 's/>/\>/g' output)