We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd07930 commit 7200c40Copy full SHA for 7200c40
scripts/prepmsg.sh
@@ -10,6 +10,8 @@ set -ex
10
11
URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_NUMBER}"
12
echo "❌ *${GITHUB_JOB}* ([ID *${GITHUB_RUN_NUMBER}*]($URL)):" > $2
13
-echo '```' >> $2
14
-grep 'cpython/Doc/.*WARNING:' $1 | sed 's|.*/cpython/Doc|Doc|' | uniq >> $2
15
+grep 'cpython/Doc/.*WARNING:' $1 | \
+ sed 's|.*/cpython/Doc|Doc|' | \
+ uniq | \
16
+ sed 's|^|```\n|;s|$|\n```\n|' \
17
+ >> $2
0 commit comments