diff options
Diffstat (limited to '')
-rw-r--r-- | modules/structs/workflow.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/structs/workflow.go b/modules/structs/workflow.go new file mode 100644 index 0000000..c4429ea --- /dev/null +++ b/modules/structs/workflow.go @@ -0,0 +1,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"` +} |