Tweak message

This commit is contained in:
Colin McDonnell
2025-12-27 16:28:22 -08:00
parent 8a7db7bba2
commit c200c7aff9
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -98650,8 +98650,8 @@ async function ensureProgressCommentUpdated(payload) {
return;
}
const runId = process.env.GITHUB_RUN_ID;
const workflowRunLink = runId ? `[workflow](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})` : "workflow";
const errorMessage = `\u274C this run croaked
const workflowRunLink = runId ? `[workflow run logs](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})` : "workflow run logs";
const errorMessage = `This run croaked \u{1F635}
The workflow encountered an error before any progress could be reported. Please check the ${workflowRunLink} for details.`;
const body = payload ? await addFooter(errorMessage, payload, octokit) : errorMessage;
+3 -3
View File
@@ -363,10 +363,10 @@ export async function ensureProgressCommentUpdated(payload?: Payload): Promise<v
const runId = process.env.GITHUB_RUN_ID;
const workflowRunLink = runId
? `[workflow](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})`
: "workflow";
? `[workflow run logs](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})`
: "workflow run logs";
const errorMessage = `❌ this run croaked
const errorMessage = `This run croaked 😵
The workflow encountered an error before any progress could be reported. Please check the ${workflowRunLink} for details.`;