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/