Skip to content

Commit 0ef5006

Browse files
authored
[CP to 1.7] 59802373 - Don't fail the pipeline for component governance alerts (#5914)
* Change failOnAlert to false in governance task * Change failOnAlert to false in governance task
1 parent 872b840 commit 0ef5006

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/AzurePipelinesTemplates/WindowsAppSDK-BuildInstaller-Steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ steps:
234234
displayName: 'Component Governance Detection'
235235
inputs:
236236
scanType: 'Register'
237-
failOnAlert: true
237+
failOnAlert: false
238238

239239
- ${{ if eq(parameters.IsOneBranch, 'true') }}:
240240
- template: ${{variables['System.DefaultWorkingDirectory']}}\AzurePipelinesTemplates\WindowsAppSDK-PublishSymbol-Steps.yml@WindowsAppSDKConfig

build/AzurePipelinesTemplates/WindowsAppSDK-BuildVSIX-Steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ steps:
158158
displayName: 'Component Governance Detection'
159159
inputs:
160160
scanType: 'Register'
161-
failOnAlert: true
161+
failOnAlert: false
162162

163163
- ${{ if eq(parameters.SignOutput, false) }}:
164164
- task: CopyFiles@2

0 commit comments

Comments
 (0)