Merge pull request #23459 from Evernorth/kp/fix-github-actions-workflow-status-handling
Fixed WorkflowRunStatus component to handle skipped and cancelled status. Fixes #23257
This commit is contained in:
@@ -83,7 +83,8 @@ export function getStatusDescription({
|
||||
return 'In progress';
|
||||
case 'completed':
|
||||
switch (conclusion?.toLocaleLowerCase('en-US')) {
|
||||
case 'skipped' || 'canceled':
|
||||
case 'skipped':
|
||||
case 'cancelled':
|
||||
return 'Aborted';
|
||||
case 'timed_out':
|
||||
return 'Timed out';
|
||||
|
||||
Reference in New Issue
Block a user