Treat status reports as non-critical

Change `sendStatusReport` to `void`
This commit is contained in:
Josh Soref
2024-01-31 12:23:50 -05:00
parent 43a8916cbe
commit 5a6da1d85d
28 changed files with 146 additions and 138 deletions

View File

@@ -32,18 +32,14 @@ async function run() {
const logger = getActionsLogger();
try {
if (
!(await sendStatusReport(
await createStatusReportBase(
ACTION_NAME,
"starting",
startedAt,
await checkDiskUsage(logger),
),
))
) {
return;
}
await sendStatusReport(
await createStatusReportBase(
ACTION_NAME,
"starting",
startedAt,
await checkDiskUsage(logger),
),
);
const gitHubVersion = await getGitHubVersion();
checkGitHubVersionInRange(gitHubVersion, logger);