We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8135f36 commit 0ad4b7cCopy full SHA for 0ad4b7c
tools/actions/commit-queue.sh
@@ -19,7 +19,7 @@ commit_queue_failed() {
19
20
# shellcheck disable=SC2154
21
cqurl="${GITHUB_SERVER_URL}/${OWNER}/${REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
22
- body="<details><summary>Commit Queue failed</summary><pre>$(cat output)</pre><a href='$cqurl'>$cqurl</a></details>"
+ body="<details><summary>Commit Queue failed</summary><pre>$(sed -e 's/&/\&/g' -e 's/</\</g' -e 's/>/\>/g' output)</pre><a href='$cqurl'>$cqurl</a></details>"
23
echo "$body"
24
25
gh pr comment "$pr" --body "$body"
0 commit comments