From 36398d3b75dbb3dbc33ef5afac03b33ffe872744 Mon Sep 17 00:00:00 2001 From: jantiebot Date: Wed, 4 Mar 2026 11:56:05 +0100 Subject: [PATCH 1/2] fix: output the actual PR comment in comment-content --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a23fc00c6..60f7ec02c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -244,7 +244,6 @@ async function run(): Promise { // include full summary in output; Actions will truncate if oversized let rendered = core.summary.stringify() - core.setOutput('comment-content', rendered) // Handle large summaries by uploading as artifact rendered = await handleLargeSummary(rendered) @@ -257,6 +256,9 @@ async function run(): Promise { rendered = minSummary } + // Set the actual PR comment as output (minimal version if too large for a comment on GitHub) + core.setOutput('comment-content', rendered) + // update the PR comment if needed with the right-sized summary await commentPr(rendered, config, issueFound) } catch (error) { From 39ce640c840e8d97b592bfc3036a892bc822582b Mon Sep 17 00:00:00 2001 From: jantiebot Date: Wed, 4 Mar 2026 13:42:12 +0100 Subject: [PATCH 2/2] chore: update comment --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 60f7ec02c..3ed49e2df 100644 --- a/src/main.ts +++ b/src/main.ts @@ -242,7 +242,7 @@ async function run(): Promise { summary.addScannedFiles(changes) printScannedDependencies(changes) - // include full summary in output; Actions will truncate if oversized + // PR comment/summary handling let rendered = core.summary.stringify() // Handle large summaries by uploading as artifact