From a9d610ccc2469ce61916e7d376f247f5e7f9f838 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sat, 20 Apr 2024 16:38:13 -0400 Subject: [PATCH] aaaaaaaaaa --- src/webserver/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver/github.ts b/src/webserver/github.ts index 7d43b9d..6273b36 100644 --- a/src/webserver/github.ts +++ b/src/webserver/github.ts @@ -130,7 +130,7 @@ const actionCompleted = async (client: Client, req: Request) => { let versionOrVersionAndLogs = `Version: **${version}**`; - if (!workflow_run.conclusion) { + if (workflow_run.conclusion === 'failure') { const runId = workflow_run.id; const jobId: string = await fetch( `https://api.github.com/repos/Layers-of-Railways/Railway/actions/runs/${runId}/jobs`