diff --git a/build/pipelines/templates/build-single-architecture.yaml b/build/pipelines/templates/build-single-architecture.yaml index 6669f709..ff5be3b4 100644 --- a/build/pipelines/templates/build-single-architecture.yaml +++ b/build/pipelines/templates/build-single-architecture.yaml @@ -37,7 +37,7 @@ jobs: - checkout: self fetchDepth: 1 - - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: + - ${{ if eq(parameters.isOSSBuild, true) }}: - task: nuget-security-analysis@0 displayName: Secure Supply Chain Analysis