diff --git a/src/github.ts b/src/github.ts index 2075b8a..5fd1d5a 100644 --- a/src/github.ts +++ b/src/github.ts @@ -237,7 +237,7 @@ export class GitHub { .addRaw(addLink('Learn more', 'https://docs.docker.com/go/build-summary/')) .addRaw('
') .addRaw(``) - .addRaw(`:arrow_down: ${addLink(`${opts.uploadRes.filename}`, artifactRelativeURL)} (${Util.formatFileSize(opts.uploadRes.size)})`) + .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(`
`) @@ -264,7 +264,7 @@ export class GitHub { // prettier-ignore summaryTableData.push([ {data: `${ref.substring(0, 6).toUpperCase()}
`},
- {data: `${summary.name}`},
+ {data: `${Util.stringToUnicodeEntities(summary.name)}`},
{data: `${summary.status === 'completed' ? ':white_check_mark:' : summary.status === 'canceled' ? ':no_entry_sign:' : ':x:'} ${summary.status}`},
{data: `${summary.numCachedSteps > 0 ? Math.round((summary.numCachedSteps / summary.numTotalSteps) * 100) : 0}%`},
{data: summary.duration}