From 758ba235fa21742e1a86c4eb5ee9f509b68d3107 Mon Sep 17 00:00:00 2001 From: Doug Bunting Date: Wed, 13 Feb 2019 10:02:03 -0800 Subject: [PATCH] Touch up component detection - run only on success of previous steps --- .azure/pipelines/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index fbb6fe944f..11979c4538 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -81,7 +81,7 @@ jobs: # Detect OSS Components in use in the product. Only needs to run on one OS in the matrix. - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 displayName: Detect components - condition: eq(variables['system.pullrequest.isfork'], false) + condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false)) artifacts: - name: Windows_Packages path: artifacts/packages/