summaryrefslogtreecommitdiffstats
path: root/modules/structs/workflow.go
blob: c4429ea0a2f8afc94e2466fff5049da5801e70a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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"`
}