more codespell errors (#33223)

more spell
old-commit-hash: 184519834c99291ddbaa0f92842bda3ab89d797d
This commit is contained in:
Maxime Desroches
2024-08-07 16:02:09 -07:00
committed by GitHub
parent 54d10c2aa3
commit b63698c376
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -58,14 +58,14 @@ jobs:
const jobName = job.name.split(" / ")[2];
const runRegex = /\((.*?)\)/;
const run = job.name.match(runRegex)[1];
report[jobName] = report[jobName] || { successes: [], failures: [], cancelled: [] };
report[jobName] = report[jobName] || { successes: [], failures: [], canceled: [] };
switch (job.conclusion) {
case "success":
report[jobName].successes.push({ "run_number": run, "link": job.html_url}); break;
case "failure":
report[jobName].failures.push({ "run_number": run, "link": job.html_url }); break;
case "cancelled":
report[jobName].cancelled.push({ "run_number": run, "link": job.html_url }); break;
case "canceled":
report[jobName].canceled.push({ "run_number": run, "link": job.html_url }); break;
}
});
return JSON.stringify({"jobs": report});