Skip to content

Commit

Permalink
Exclude the chromium source code from PoliCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jan 17, 2024
1 parent 07180d3 commit b0d4a75
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions PoliCheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -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>
2 changes: 2 additions & 0 deletions pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ extends:
displayName: Test

publishPackage: ${{ parameters.publishPackage }}

policheckExclusionsFile: '$(Build.SourcesDirectory)/PoliCheckExclusions.xml'

0 comments on commit b0d4a75

Please sign in to comment.