1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 19:58:36 +00:00

Update models/actions/task_list.go

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Jason Song
2023-01-04 16:11:17 +08:00
committed by GitHub
parent 2917057b00
commit 9b00ded1fb

View File

@@ -41,6 +41,7 @@ func (tasks TaskList) LoadJobs(ctx context.Context) error {
}
}
// TODO: Replace with "ActionJobList(maps.Values(jobs))" once available
var jobsList ActionJobList = make([]*ActionRunJob, 0, len(jobs))
for _, j := range jobs {
jobsList = append(jobsList, j)