From 198856789659284f4ff9f436ffdf61a65e4625f4 Mon Sep 17 00:00:00 2001 From: Eli Reisman Date: Mon, 3 Jun 2024 12:22:38 -0700 Subject: [PATCH] re-apply set output for comment-content --- src/comment-pr.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/comment-pr.ts b/src/comment-pr.ts index f808b5f..f1142b4 100644 --- a/src/comment-pr.ts +++ b/src/comment-pr.ts @@ -21,6 +21,10 @@ export async function commentPr( ): Promise { const commentContent = summary.stringify() + // this should be truncated for us if it's too long but + // we could check len and sub in minSummary instead + core.setOutput('comment-content', commentContent) + if ( !( config.comment_summary_in_pr === 'always' ||