Skip to content

Commit 758ba23

Browse files
committed
Touch up component detection
- run only on success of previous steps
1 parent 3d3ad96 commit 758ba23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure/pipelines/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# Detect OSS Components in use in the product. Only needs to run on one OS in the matrix.
8282
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
8383
displayName: Detect components
84-
condition: eq(variables['system.pullrequest.isfork'], false)
84+
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
8585
artifacts:
8686
- name: Windows_Packages
8787
path: artifacts/packages/

0 commit comments

Comments
 (0)