mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-13 23:32:41 +00:00
Simplified collection creation.
This commit is contained in:
parent
686fa9e27a
commit
14a8af7c10
1 changed files with 1 additions and 3 deletions
|
@ -96,9 +96,7 @@ func (entry *Workflow) Dispatch(ctx context.Context, inputGetter InputValueGette
|
|||
}
|
||||
|
||||
var jobNames []string
|
||||
for jobName := range wf.Jobs {
|
||||
jobNames = append(jobNames, jobName)
|
||||
}
|
||||
jobNames := util.KeysOfMap(wf.Jobs)
|
||||
|
||||
payload := &structs.WorkflowDispatchPayload{
|
||||
Inputs: inputs,
|
||||
|
|
Loading…
Reference in a new issue