mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-25 05:44:09 +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
|
var jobNames []string
|
||||||
for jobName := range wf.Jobs {
|
jobNames := util.KeysOfMap(wf.Jobs)
|
||||||
jobNames = append(jobNames, jobName)
|
|
||||||
}
|
|
||||||
|
|
||||||
payload := &structs.WorkflowDispatchPayload{
|
payload := &structs.WorkflowDispatchPayload{
|
||||||
Inputs: inputs,
|
Inputs: inputs,
|
||||||
|
|
Loading…
Reference in a new issue