Disable CG on PR builds (#19797)

This commit is contained in:
Marc Paine 2024-06-04 16:00:50 -07:00 committed by GitHub
commit 91ea047c8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,6 +73,9 @@ extends:
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022
os: windows
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
componentgovernance:
ignoreDirectories: artifacts, .packages
# Temporary to workaround MicroBuild issues.
credscan:
enabled: false