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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user