mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-28 16:23:56 +00:00
enhance(actions): add pending job status and align job statuses with GitHub (#39376)
This commit is contained in:
@@ -122,9 +122,10 @@ function compareStatusWorstFirst(a: ActionsStatus, b: ActionsStatus): number {
|
||||
if (s === 'running') return 2;
|
||||
if (s === 'waiting') return 3;
|
||||
if (s === 'blocked') return 4;
|
||||
if (s === 'success') return 5;
|
||||
if (s === 'skipped') return 6;
|
||||
return 7;
|
||||
if (s === 'pending') return 5;
|
||||
if (s === 'success') return 6;
|
||||
if (s === 'skipped') return 7;
|
||||
return 8;
|
||||
};
|
||||
return rank(a) - rank(b);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user