mirror of
https://github.com/go-gitea/gitea
synced 2024-11-06 02:04:26 +00:00
Use the run index instead, since it's the number used in FE
This commit is contained in:
parent
8b5443acdb
commit
6870e1a60c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user