From 524a47b2b4e82ca0086c997de303b404f7cba51e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 20 Jul 2025 16:06:25 +0200 Subject: [PATCH] ci/github-script/commits: harden code block rendering To avoid rendering issues when diffing a markdown file with these markers in context, just increase the markers length. --- ci/github-script/commits.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/github-script/commits.js b/ci/github-script/commits.js index 52bc4bdb4b8c..e5553c59ce7f 100644 --- a/ci/github-script/commits.js +++ b/ci/github-script/commits.js @@ -220,9 +220,9 @@ module.exports = async function ({ github, context, core, dry }) { } core.summary.addRaw('
Show diff') - core.summary.addRaw('\n\n```diff', true) + core.summary.addRaw('\n\n``````````diff', true) core.summary.addRaw(truncated.join('\n'), true) - core.summary.addRaw('```', true) + core.summary.addRaw('``````````', true) core.summary.addRaw('
') }