Skip to content

Commit

Permalink
fix(workflow-status): properly handle "waiting" status
Browse files Browse the repository at this point in the history
-
  • Loading branch information
tsimbalar committed Apr 12, 2021
1 parent 9117795 commit 98615f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/infra/github/WorkflowRunRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 98615f1

Please sign in to comment.