mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -05:00
16 lines
386 B
Go
16 lines
386 B
Go
|
// Copyright The Forgejo Authors.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package structs
|
||
|
|
||
|
// DispatchWorkflowOption options when dispatching a workflow
|
||
|
// swagger:model
|
||
|
type DispatchWorkflowOption struct {
|
||
|
// Git reference for the workflow
|
||
|
//
|
||
|
// required: true
|
||
|
Ref string `json:"ref"`
|
||
|
// Input keys and values configured in the workflow file.
|
||
|
Inputs map[string]string `json:"inputs"`
|
||
|
}
|