From 9a7372193ef4c53fc05482dfacd2bc9efe3dd5f5 Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Thu, 30 Jul 2026 10:31:40 -0700 Subject: [PATCH] Add optional icmTeamId field for GenevaAutomation step --- pipelines/types/common.go | 4 ++++ pipelines/types/pipeline.schema.v1.json | 3 +++ 2 files changed, 7 insertions(+) diff --git a/pipelines/types/common.go b/pipelines/types/common.go index 5c3d6a9..89165b1 100644 --- a/pipelines/types/common.go +++ b/pipelines/types/common.go @@ -682,6 +682,7 @@ type PublishGenevaAutomationStep struct { KustoClientSecretName Value `json:"kustoClientSecretName,omitempty"` GenevaAutomationSecretName Value `json:"genevaAutomationSecretName,omitempty"` IcmServiceId Value `json:"icmServiceId,omitempty"` + IcmTeamId *Value `json:"icmTeamId,omitempty"` WorkflowPath string `json:"workflowPath,omitempty"` GenevaAutomationArtifact AdoArtifactDownloadPipelineReference `json:"genevaAutomationArtifact,omitempty"` @@ -698,6 +699,9 @@ func (s *PublishGenevaAutomationStep) RequiredInputs() []StepDependency { deps = append(deps, val.Input.StepDependency) } } + if s.IcmTeamId != nil && s.IcmTeamId.Input != nil { + deps = append(deps, s.IcmTeamId.Input.StepDependency) + } slices.SortFunc(deps, SortDependencies) deps = slices.Compact(deps) diff --git a/pipelines/types/pipeline.schema.v1.json b/pipelines/types/pipeline.schema.v1.json index 5d58d70..1e1612c 100644 --- a/pipelines/types/pipeline.schema.v1.json +++ b/pipelines/types/pipeline.schema.v1.json @@ -665,6 +665,9 @@ "icmServiceId": { "$ref": "#/definitions/value" }, + "icmTeamId": { + "$ref": "#/definitions/value" + }, "workflowPath": { "type": "string" },