commit cb592ed13b786ddfe02340763129fa5a7f23d121
parent bc28f9dd8a74c7698d5b2b2f0dbd96e4c4a22f4e
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date: Thu, 4 Mar 2021 14:57:55 -0800
Make Component Governance task required again (#775)
* Make Component Governance task required again
* disable for pr build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
@@ -312,7 +312,7 @@ jobs:
- task: ComponentGovernanceComponentDetection@0
displayName: Component Governance
- continueOnError: true
+ condition: not(eq(variables['Build.Reason'], 'PullRequest'))
inputs:
scanType: 'Register'
verbosity: 'Verbose'