chore: linkify Test results title (#24220)

This commit is contained in:
Yury Semikhatsky 2023-07-13 16:46:17 -07:00 committed by GitHub
parent 33bab3652d
commit 5ccd4b0632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,10 +97,10 @@ jobs:
...context.repo, ...context.repo,
issue_number: prNumber, issue_number: prNumber,
body: [ body: [
`### Test results for "${{ github.event.workflow_run.name }}"`, `### [Test results](${reportUrl}) for "${{ github.event.workflow_run.name }}"`,
reportMd, reportMd,
'---', '---',
`Full [html report](${reportUrl}).` `Merge [workflow run](${mergeWorkflowUrl}).`
].join('\n'), ].join('\n'),
}); });
core.info('Posted comment: ' + response.html_url); core.info('Posted comment: ' + response.html_url);
@ -114,11 +114,11 @@ jobs:
conclusion: 'success', conclusion: 'success',
details_url: reportUrl, details_url: reportUrl,
output: { output: {
title: 'Test results for "${{ github.event.workflow_run.name }}"', title: '[Test results](${reportUrl}) for "${{ github.event.workflow_run.name }}"',
summary: [ summary: [
reportMd, reportMd,
'---', '---',
`Full [html report](${reportUrl}). Merge [workflow run](${mergeWorkflowUrl}).` `Merge [workflow run](${mergeWorkflowUrl}).`
].join('\n'), ].join('\n'),
} }
}); });