File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ query-filters:
16
16
tags contain :
17
17
- experimental
18
18
- exclude :
19
- id : cpp/unused-static-variable
19
+ problem.severity :
20
+ - note
Original file line number Diff line number Diff line change @@ -16,3 +16,6 @@ query-filters:
16
16
- exclude :
17
17
tags contain :
18
18
- experimental
19
+ - exclude :
20
+ problem.severity :
21
+ - note
Original file line number Diff line number Diff line change @@ -204,9 +204,13 @@ jobs:
204
204
- name : Initialize CodeQL
205
205
uses : github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
206
206
if : ${{ env.RUN_CODEQL }}
207
+ env :
208
+ # Build mode manual takes roughly double the time to run.
209
+ # For PRs that build all sketches, we use none to speed up the build.
210
+ BUILD_MODE : ${{ (needs.gen-chunks.outputs.build_all == 'true' && github.event_name != 'pull_request') && 'manual' || 'none' }}
207
211
with :
208
212
languages : cpp
209
- build-mode : manual
213
+ build-mode : ${{ env.BUILD_MODE }}
210
214
config-file : ./.github/codeql/codeql-config.yml
211
215
212
216
- name : Build all sketches
You can’t perform that action at this time.
0 commit comments