Skip to content

Commit eeb4501

Browse files
committed
fix
1 parent d8288d8 commit eeb4501

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/codeql/codeql-config-boards.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

.github/codeql/codeql-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ query-filters:
1616
- exclude:
1717
tags contain:
1818
- experimental
19+
- exclude:
20+
problem.severity:
21+
- note

.github/workflows/push.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)