Tweak message
This commit is contained in:
@@ -98650,8 +98650,8 @@ async function ensureProgressCommentUpdated(payload) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const runId = process.env.GITHUB_RUN_ID;
|
const runId = process.env.GITHUB_RUN_ID;
|
||||||
const workflowRunLink = runId ? `[workflow](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})` : "workflow";
|
const workflowRunLink = runId ? `[workflow run logs](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})` : "workflow run logs";
|
||||||
const errorMessage = `\u274C this run croaked
|
const errorMessage = `This run croaked \u{1F635}
|
||||||
|
|
||||||
The workflow encountered an error before any progress could be reported. Please check the ${workflowRunLink} for details.`;
|
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;
|
const body = payload ? await addFooter(errorMessage, payload, octokit) : errorMessage;
|
||||||
|
|||||||
+3
-3
@@ -363,10 +363,10 @@ export async function ensureProgressCommentUpdated(payload?: Payload): Promise<v
|
|||||||
|
|
||||||
const runId = process.env.GITHUB_RUN_ID;
|
const runId = process.env.GITHUB_RUN_ID;
|
||||||
const workflowRunLink = runId
|
const workflowRunLink = runId
|
||||||
? `[workflow](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})`
|
? `[workflow run logs](https://github.com/${repoContext.owner}/${repoContext.name}/actions/runs/${runId})`
|
||||||
: "workflow";
|
: "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.`;
|
The workflow encountered an error before any progress could be reported. Please check the ${workflowRunLink} for details.`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user