Skip component governance for release pipeline (#1389)

* initial

* try

* fix

* undo
This commit is contained in:
Charles Gagnon
2022-02-04 10:28:21 -08:00
committed by GitHub
parent 187f34d0bb
commit 1b5ac4c017
2 changed files with 4 additions and 6 deletions

View File

@@ -14,6 +14,9 @@ stages:
- template: build.yml
- stage: Release
variables:
- name: skipComponentGovernanceDetection
value: true
dependsOn:
- Build
condition: and(succeeded(), eq(variables['RELEASE'], 'true'))

View File

@@ -30,8 +30,3 @@ steps:
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