This commit is contained in:
NorthRealm
2025-07-08 14:21:57 +08:00
parent a0737b1ff4
commit 8100f63457
+1
View File
@@ -52,6 +52,7 @@ func sendActionsWorkflowRunStatusEmail(ctx context.Context, repo *repo_model.Rep
jobs, err := actions_model.GetRunJobsByRunID(ctx, run.ID)
if err != nil {
log.Error("GetRunJobsByRunID: %v", err)
return
} else {
sort.SliceStable(jobs, func(i, j int) bool {
si := jobs[i].Status