mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 13:59:15 -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"`
|
||
|
}
|