From 722ee77992d58b6589cb8b511203dffc4e5f1824 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Thu, 18 Aug 2022 15:26:10 -0700 Subject: [PATCH 1/2] Update .vsts-ci.yml --- .vsts-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 3d544c01ab81..1151eccb15d9 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -14,6 +14,9 @@ variables: value: false - name: PostBuildSign value: true +- ${{ if eq(variables['System.TeamProject'], 'public') }}: + - name: "skipComponentGovernanceDetection" + value: "true" - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - group: DotNet-DotNetCli-Storage - group: DotNet-Installer-SDLValidation-Params From a15ece60483974fee3c3f21817a0a2961e01186f Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Thu, 18 Aug 2022 15:28:21 -0700 Subject: [PATCH 2/2] Update .vsts-ci.yml --- .vsts-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 1151eccb15d9..e9db03ecc4e8 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -16,7 +16,7 @@ variables: value: true - ${{ if eq(variables['System.TeamProject'], 'public') }}: - name: "skipComponentGovernanceDetection" - value: "true" + value: "true" - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: - group: DotNet-DotNetCli-Storage - group: DotNet-Installer-SDLValidation-Params