Skip to content

Commit 0fd0ef6

Browse files
Create .CodeQL.yml (#5084)
Create file to exclude test and report folder from CodeQL scanning.
1 parent d5cf2a9 commit 0fd0ef6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.CodeQL.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
- src/Test
11+
12+
# The default behavior is to tag all files created during the
13+
# build as `generated`. Results are hidden for generated code. You can tag
14+
# further files as being generated by adding them to the `generated` section.
15+
generated:
16+
- _reports

0 commit comments

Comments
 (0)