Exclude the chromium source code from PoliCheck (#55)

* Exclude the chromium source code from PoliCheck

* Try to workaround build issue

* YAML FTW

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
This commit is contained in:
Alexandru Dima 2024-01-22 16:51:27 +01:00 коммит произвёл GitHub
Родитель 2901d97846
Коммит 33954656d6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 15 добавлений и 0 удалений

11
PoliCheckExclusions.xml Normal file
Просмотреть файл

@ -0,0 +1,11 @@
<PoliCheckExclusions>
<!-- All strings must be UPPER CASE -->
<!--Each of these exclusions is a folder name -if \[name]\exists in the file path, it will be skipped -->
<Exclusion Type="FolderPathFull">DEPS</Exclusion>
<!--Each of these exclusions is a folder name -if any folder or file starts with "\[name]", it will be skipped -->
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
<!--Each of these file types will be completely skipped for the entire scan -->
<!--<Exclusion Type="FileType">.ABC|.XYZ</Exclusion>-->
<!--The specified file names will be skipped during the scan regardless which folder they are in -->
<!--<Exclusion Type="FileName">ABC.TXT|XYZ.CS</Exclusion>-->
</PoliCheckExclusions>

Просмотреть файл

@ -43,6 +43,8 @@ extends:
- 16.x
testSteps:
# https://github.com/nodejs/node-gyp/issues/2869
- script: python3 -m pip install setuptools
- script: npm ci
displayName: Install dependencies
@ -50,3 +52,5 @@ extends:
displayName: Test
publishPackage: ${{ parameters.publishPackage }}
policheckExclusionsFile: '$(Build.SourcesDirectory)/PoliCheckExclusions.xml'