Skip to content

Commit f9c922c

Browse files
Create .CodeQL.yml (#20721)
This file is used to exclude the test folders from CodeQL scanning.
1 parent 3c93673 commit f9c922c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.CodeQL.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
path_classifiers:
2+
test:
3+
# Note: use only forward slash / as a path separator.
4+
# * Matches any sequence of characters except a forward slash.
5+
# ** Matches any sequence of characters, including a forward slash.
6+
# This wildcard must either be surrounded by forward slash symbols, or used as the first segment of a path.
7+
# It matches zero or more whole directory segments. There is no need to use a wildcard at the end of a directory path because all sub-directories are automatically matched.
8+
# That is, /anything/ matches the anything directory and all its subdirectories.
9+
# Always enclose the expression in double quotes if it includes *.
10+
- Tests
11+
- Tests-Legacy
12+
- "Task/**/Tests"
13+
14+
# The default behavior is to tag all files created during the
15+
# build as `generated`. Results are hidden for generated code. You can tag
16+
# further files as being generated by adding them to the `generated` section.
17+
generated:
18+
- _generated

0 commit comments

Comments
 (0)