We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2031cfc commit 36398d3Copy full SHA for 36398d3
1 file changed
src/main.ts
@@ -244,7 +244,6 @@ async function run(): Promise<void> {
244
245
// include full summary in output; Actions will truncate if oversized
246
let rendered = core.summary.stringify()
247
- core.setOutput('comment-content', rendered)
248
249
// Handle large summaries by uploading as artifact
250
rendered = await handleLargeSummary(rendered)
@@ -257,6 +256,9 @@ async function run(): Promise<void> {
257
256
rendered = minSummary
258
}
259
+ // Set the actual PR comment as output (minimal version if too large for a comment on GitHub)
260
+ core.setOutput('comment-content', rendered)
261
+
262
// update the PR comment if needed with the right-sized summary
263
await commentPr(rendered, config, issueFound)
264
} catch (error) {
0 commit comments