From 1b5ac4c017129b1f33dad10ce68b62f49d2d2800 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 4 Feb 2022 10:28:21 -0800 Subject: [PATCH] Skip component governance for release pipeline (#1389) * initial * try * fix * undo --- azure-pipelines/build-and-release.yml | 3 +++ azure-pipelines/release.yml | 7 +------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/azure-pipelines/build-and-release.yml b/azure-pipelines/build-and-release.yml index cd2e3543..4606aa7c 100644 --- a/azure-pipelines/build-and-release.yml +++ b/azure-pipelines/build-and-release.yml @@ -14,6 +14,9 @@ stages: - template: build.yml - stage: Release + variables: + - name: skipComponentGovernanceDetection + value: true dependsOn: - Build condition: and(succeeded(), eq(variables['RELEASE'], 'true')) diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml index 24d7bca4..71617d4f 100644 --- a/azure-pipelines/release.yml +++ b/azure-pipelines/release.yml @@ -29,9 +29,4 @@ steps: workingDirectory: '$(Build.SourcesDirectory)' env: GITHUB_DISTRO_MIXIN_PASSWORD: $(github-distro-mixin-password) - ADO_CROSSPLATBUILDSCRIPTS_PASSWORD: $(ado-crossplatbuildscripts-password) - -- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 - displayName: 'Component Detection' - inputs: - failOnAlert: true \ No newline at end of file + ADO_CROSSPLATBUILDSCRIPTS_PASSWORD: $(ado-crossplatbuildscripts-password) \ No newline at end of file