Added CodeQL configuration to exclude external sources. (#11809)

This commit is contained in:
Pawel Winogrodzki 2025-01-14 19:42:41 +01:00 коммит произвёл GitHub
Родитель 30456106ba
Коммит c41788f017
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 29 добавлений и 0 удалений

29
.CodeQL.yml Normal file
Просмотреть файл

@ -0,0 +1,29 @@
path_classifiers:
library:
# Treat source files for all compiled languages in the specs directories
# as 3rd party library sources because they are not owned by us.
#
# Extensions from https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/.
- "SPECS*/**/*.c"
- "SPECS*/**/*.c++"
- "SPECS*/**/*.cc"
- "SPECS*/**/*.cpp"
- "SPECS*/**/*.cs"
- "SPECS*/**/*.cshtml"
- "SPECS*/**/*.csproj"
- "SPECS*/**/*.cts"
- "SPECS*/**/*.cxx"
- "SPECS*/**/*.go"
- "SPECS*/**/*.h"
- "SPECS*/**/*.h++"
- "SPECS*/**/*.hh"
- "SPECS*/**/*.hpp"
- "SPECS*/**/*.hxx"
- "SPECS*/**/*.java"
- "SPECS*/**/*.kt"
- "SPECS*/**/*.mts"
- "SPECS*/**/*.sln"
- "SPECS*/**/*.swift"
- "SPECS*/**/*.ts"
- "SPECS*/**/*.tsx"
- "SPECS*/**/*.xaml"