Merge pull request #23365 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:
@@ -52,7 +52,8 @@ export function WorkflowIcon({
|
||||
return <StatusRunning />;
|
||||
case 'completed':
|
||||
switch (conclusion?.toLocaleLowerCase('en-US')) {
|
||||
case 'skipped' || 'canceled':
|
||||
case 'skipped':
|
||||
case 'cancelled':
|
||||
return <StatusAborted />;
|
||||
|
||||
case 'timed_out':
|
||||
|
||||
Reference in New Issue
Block a user