From 6870e1a60cf0da621609ce1bd442c1e17f5243b2 Mon Sep 17 00:00:00 2001 From: chesterip Date: Tue, 22 Aug 2023 20:07:37 -0400 Subject: [PATCH] Use the run index instead, since it's the number used in FE --- services/convert/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/convert/convert.go b/services/convert/convert.go index e83a0067e7..85b017aa29 100644 --- a/services/convert/convert.go +++ b/services/convert/convert.go @@ -186,7 +186,7 @@ func ToActionTask(ctx context.Context, repo *repo_model.Repository, t *actions_m log.Warn("LoadAttributes of ActionTask: %v", err) } return &api.ActionTask{ - ID: t.Job.RunID, + ID: t.Job.Run.Index, JobName: t.Job.Name, WorkflowID: t.Job.Run.WorkflowID, Title: t.Job.Run.Title,