mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-13 23:32:41 +00:00
Update modules/structs/workflow.go
Add parameter return_run_info with a default value of false to be used to elicit a return value of DispathWorkflowRun from the /repos/{owner}/{repo}/actions/workflows/{workflowname}/dispatches REST endpoint.
This commit is contained in:
parent
fea389f45b
commit
26c139fa86
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ type DispatchWorkflowOption struct {
|
|||
Ref string `json:"ref"`
|
||||
// Input keys and values configured in the workflow file.
|
||||
Inputs map[string]string `json:"inputs"`
|
||||
// Flag to return the run info
|
||||
// default: false
|
||||
ReturnRunInfo bool `json:"return_run_info" default:"false"`
|
||||
}
|
||||
|
||||
// DispatchWorkflowRun represents a workflow run
|
||||
|
|
Loading…
Reference in a new issue