Skip to content

Commit 690cea4

Browse files
authored
Updates CodeQL.yaml to exclude test files (#3294)
1 parent 8272a98 commit 690cea4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

CodeQL.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# CodeQL configuration file
22
#
33
# Check the following link for more information:
4-
# https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/configuring-codeql3000-ado-pipelines#excluding-external-libraries-test-files-generated-files-docs
4+
# https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/troubleshooting/bugs/generated-library-code#configuring-exclusion-file
55

66
path_classifiers:
77
test:
8-
- "tests/**"
9-
- "benchmark/**"
8+
# All sub-directories are automatically matched. For example: tests/ matches anything in the directory and all its subdirectories.
9+
# Do not add /** wildcard at the end of a directory path.
10+
- "tests"
11+
- "benchmark"
1012
docs:
11-
- "docs/**"
13+
- "docs"

0 commit comments

Comments
 (0)