Merge pull request #14348 from dotnet/marcpopMSFT-skippubliccg

Don't run CG in public builds
This commit is contained in:
Marc Paine 2022-09-01 09:51:06 -07:00 committed by GitHub
commit 1228c10669
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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