ci: better fence around tidy-check-generate summary (#3174)

This commit is contained in:
Markus Rudy 2024-06-19 12:19:41 +02:00 committed by GitHub
parent 1975a10721
commit 9a295b2c3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,10 +98,11 @@ jobs:
exit 0 exit 0
fi fi
# Use quadruple backticks to escape triple backticks in diff'ed files.
cat << EOF >> "${GITHUB_STEP_SUMMARY}" cat << EOF >> "${GITHUB_STEP_SUMMARY}"
\`\`\`diff \`\`\`\`diff
${diff} ${diff}
\`\`\` \`\`\`\`
EOF EOF
if [[ "${{ steps.untidy.outputs.untidy }}" == "true" ]] && if [[ "${{ steps.untidy.outputs.untidy }}" == "true" ]] &&