From e130c40c8416cb4f7142c47e49147340a8bd60a6 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:01:54 +0200 Subject: [PATCH 1/2] github(summary): remove preview title Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index 9cfeb01..ce17739 100644 --- a/src/github.ts +++ b/src/github.ts @@ -253,7 +253,7 @@ export class GitHub { .addRaw('

'); // Preview - sum.addRaw(`Preview`).addBreak().addRaw('

'); + sum.addRaw('

'); const summaryTableData: Array> = [ [ {header: true, data: 'ID'}, From 9853314413179e09935df83596bdbf645a6b9f4f Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:11:41 +0200 Subject: [PATCH 2/2] github(summary): tidy download link Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/github.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/github.ts b/src/github.ts index ce17739..898c254 100644 --- a/src/github.ts +++ b/src/github.ts @@ -243,9 +243,7 @@ export class GitHub { .addRaw(addLink('Learn more', 'https://docs.docker.com/go/build-summary/')) .addRaw('

') .addRaw(`

`) - .addRaw(`:arrow_down: ${addLink(`${Util.stringToUnicodeEntities(opts.uploadRes.filename)}`, artifactRelativeURL)} (${Util.formatFileSize(opts.uploadRes.size)})`) - .addBreak() - .addRaw(`This file includes ${refsSize} build record${refsSize > 1 ? 's' : ''}.`) + .addRaw(`:arrow_down: ${addLink(`${Util.stringToUnicodeEntities(opts.uploadRes.filename)}`, artifactRelativeURL)} (${Util.formatFileSize(opts.uploadRes.size)} - includes ${refsSize} build record${refsSize > 1 ? 's' : ''})`) .addRaw(`

`) .addRaw(`

`) .addRaw(`Find this useful? `)