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:
1616 tags contain :
1717 - experimental
1818 - 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:
1616 - exclude :
1717 tags contain :
1818 - experimental
19+ - exclude :
20+ problem.severity :
21+ - note
Original file line number Diff line number Diff line change @@ -204,9 +204,13 @@ jobs:
204204 - name : Initialize CodeQL
205205 uses : github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
206206 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' }}
207211 with :
208212 languages : cpp
209- build-mode : manual
213+ build-mode : ${{ env.BUILD_MODE }}
210214 config-file : ./.github/codeql/codeql-config.yml
211215
212216 - name : Build all sketches
You can’t perform that action at this time.
0 commit comments