Disable CG on PR builds
This commit is contained in:
parent
a95df35520
commit
5ae533b7f2
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ extends:
|
||||||
name: $(DncEngInternalBuildPool)
|
name: $(DncEngInternalBuildPool)
|
||||||
image: 1es-windows-2022
|
image: 1es-windows-2022
|
||||||
os: windows
|
os: windows
|
||||||
|
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
|
componentgovernance:
|
||||||
|
ignoreDirectories: artifacts, .packages
|
||||||
# Temporary to workaround MicroBuild issues.
|
# Temporary to workaround MicroBuild issues.
|
||||||
credscan:
|
credscan:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue