mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-20 08:34:12 +02:00
enhance(actions): add pending job status and align job statuses with GitHub (#39376)
This commit is contained in:
1 parent
0d09986790
commit
9e7b302bd3
45 files changed
+397
-189
No files matched your search
@@ -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