From 98615f1e3ee61266c0f568a661b7e76710e4d257 Mon Sep 17 00:00:00 2001 From: Thibaud Desodt Date: Mon, 12 Apr 2021 10:07:09 +0200 Subject: [PATCH] fix(workflow-status): properly handle "waiting" status - --- src/infra/github/WorkflowRunRepository.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/infra/github/WorkflowRunRepository.ts b/src/infra/github/WorkflowRunRepository.ts index 75a5f78..2bbcf37 100644 --- a/src/infra/github/WorkflowRunRepository.ts +++ b/src/infra/github/WorkflowRunRepository.ts @@ -128,6 +128,9 @@ export class WorkflowRunRepository implements IWorkflowRunRepository { if (runConclusion === 'startup_failure') { return 'Failed'; } + if (runConclusion === 'waiting') { + return 'Queued'; + } break; case 'in_progress': return 'Running';