Skip to content

Commit c63334c

Browse files
authored
Configure CG to ignore helloworld. (#2224)
This PR configures Component Governance to ignore the helloworld package, which is an internal template that is not used.
1 parent 05d533d commit c63334c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.ado/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,17 @@ extends:
3838
image: windows-latest
3939
os: windows
4040
sdl:
41+
componentgovernance:
42+
ignoreDirectories: $(Build.SourcesDirectory)/packages/helloworld
43+
credscan:
44+
suppressionsFile: .ado/CredScanSuppressions.json
4145
eslint:
4246
configuration: 'recommended'
4347
parser: '@typescript-eslint/parser'
4448
parserOptions: ''
4549
enableExclusions: true
4650
# Justification: js files in this repo are flow files. the built-in eslint does not support this. Adding a separate step to run the sdl rules for flow files.
4751
exclusionPatterns: '**/*.js'
48-
credscan:
49-
suppressionsFile: .ado/CredScanSuppressions.json
5052
stages:
5153
- stage: main
5254
jobs:

0 commit comments

Comments
 (0)