diff --git a/CodeQL.yaml b/CodeQL.yaml index 21e1a3dbc..adbd3c492 100644 --- a/CodeQL.yaml +++ b/CodeQL.yaml @@ -1,11 +1,13 @@ # CodeQL configuration file # # Check the following link for more information: -# 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 +# https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/troubleshooting/bugs/generated-library-code#configuring-exclusion-file path_classifiers: test: - - "tests/**" - - "benchmark/**" + # All sub-directories are automatically matched. For example: tests/ matches anything in the directory and all its subdirectories. + # Do not add /** wildcard at the end of a directory path. + - "tests" + - "benchmark" docs: - - "docs/**" \ No newline at end of file + - "docs"