From 0eb9f50e7dc9180babac8d56e3f4be3ff03b424a Mon Sep 17 00:00:00 2001 From: Szabolcs Toth <54896607+tothszabi@users.noreply.github.com> Date: Wed, 6 Nov 2024 14:47:08 +0100 Subject: [PATCH] Remove run_if (#1015) --- models/models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/models.go b/models/models.go index e780bd40..cbd60533 100644 --- a/models/models.go +++ b/models/models.go @@ -77,9 +77,9 @@ type StageWorkflowModel struct { type GraphPipelineWorkflowListItemModel map[string]GraphPipelineWorkflowModel type GraphPipelineWorkflowModel struct { - DependsOn []string `json:"depends_on,omitempty" yaml:"depends_on,omitempty"` - AbortOnFail bool `json:"abort_on_fail,omitempty" yaml:"abort_on_fail,omitempty"` - RunIf GraphPipelineRunIfModel `json:"run_if,omitempty" yaml:"run_if,omitempty"` + DependsOn []string `json:"depends_on,omitempty" yaml:"depends_on,omitempty"` + AbortOnFail bool `json:"abort_on_fail,omitempty" yaml:"abort_on_fail,omitempty"` + //RunIf GraphPipelineRunIfModel `json:"run_if,omitempty" yaml:"run_if,omitempty"` ShouldAlwaysRun GraphPipelineAlwaysRunMode `json:"should_always_run,omitempty" yaml:"should_always_run,omitempty"` }