File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Exclude dependencies from CodeQL analysis
2
+ paths :
3
+ exclude :
4
+ - " **/thirdparty/**"
5
+ - " **/out/**"
6
+ - " **/build/**"
7
+ - " **/test/**"
8
+ - " **/example/**"
9
+ - " **/benchmark/**"
10
+ - " **/tools/**"
Original file line number Diff line number Diff line change 1
-
2
1
name : " CodeQL"
3
2
4
3
on :
5
4
push :
6
- branches : ["main", "dev"]
5
+ branches : [ "main", "dev" ]
7
6
pull_request :
8
7
# The branches below must be a subset of the branches above
9
- branches : ["main", "dev"]
8
+ branches : [ "main", "dev" ]
10
9
schedule :
11
10
- cron : " 0 0 * * 1"
12
11
25
24
strategy :
26
25
fail-fast : false
27
26
matrix :
28
- language : ["cpp", "python"]
27
+ language : [ "cpp", "python" ]
29
28
# CodeQL supports [ $supported-codeql-languages ]
30
29
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
31
30
43
42
uses : github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # v3.27.4
44
43
with :
45
44
languages : ${{ matrix.language }}
45
+ config-file : .github/codeql/codeql-config.yml
46
46
# If you wish to specify custom queries, you can do so here or in a config file.
47
47
# By default, queries listed here will override any specified in a config file.
48
48
# Prefix the list here with "+" to use these queries and those in the config file.
You can’t perform that action at this time.
0 commit comments