Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0ad4b7c

Browse files
avivkellermarco-ippolito
authored andcommitted
meta: use HTML entities in commit-queue comment
PR-URL:#53744Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent8135f36 commit0ad4b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tools/actions/commit-queue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ commit_queue_failed() {
1919

2020
# shellcheck disable=SC2154
2121
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>"
22+
body="<details><summary>Commit Queue failed</summary><pre>$(sed -e's/&/\&amp;/g' -e's/</\&lt;/g' -e's/>/\&gt;/g' output)</pre><a href='$cqurl'>$cqurl</a></details>"
2323
echo"$body"
2424

2525
gh pr comment"$pr" --body"$body"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp