Skip to content

Commit b940c93

Browse files
committed
fix
1 parent bc62479 commit b940c93

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

.github/codeql/codeql-config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ packs:
77
queries:
88
- uses: security-extended
99
- uses: security-and-quality
10+
11+
query-filters:
12+
- exclude:
13+
query path:
14+
- /^experimental\/.*/

.github/workflows/boards.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Boards Test
22

33
# The workflow will run on:
4-
# - Schedule (every Sunday at 4 AM UTC) - tests ALL boards
54
# - Manual dispatch - tests ALL boards with optional CodeQL
65
# - Pull requests with boards.txt changes - tests only NEW/MODIFIED boards
76
on:
@@ -12,8 +11,6 @@ on:
1211
default: false
1312
type: "boolean"
1413
required: true
15-
schedule:
16-
- cron: "0 4 * * SUN"
1714
pull_request:
1815
paths:
1916
- "boards.txt"
@@ -115,13 +112,14 @@ jobs:
115112
./tools/riscv32-*
116113
./tools/xtensa-*
117114
118-
- name: Initialize CodeQL
119-
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
120-
if: ${{ inputs.codeql }}
121-
with:
122-
languages: cpp
123-
build-mode: manual
124-
config-file: ./.github/codeql/codeql-config.yml
115+
# CodeQL reports errors from the toolchain and generates thousands of false positives
116+
# - name: Initialize CodeQL
117+
# uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
118+
# if: ${{ inputs.codeql }}
119+
# with:
120+
# languages: cpp
121+
# build-mode: manual
122+
# config-file: ./.github/codeql/codeql-config.yml
125123

126124
- name: Compile sketch
127125
uses: P-R-O-C-H-Y/compile-sketches@a62f069b92dc8f5053da4ac439ea6d1950cf6379 # main
@@ -139,9 +137,10 @@ jobs:
139137
sketch-paths: "- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino"
140138
verbose: true
141139

142-
- name: Run CodeQL Analysis
143-
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
144-
if: ${{ inputs.codeql }}
145-
with:
146-
check_name: "CodeQL Boards"
140+
# CodeQL reports errors from the toolchain and generates thousands of false positives
141+
# - name: Run CodeQL Analysis
142+
# uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
143+
# if: ${{ inputs.codeql }}
144+
# with:
145+
# check_name: "CodeQL Boards"
147146

variants/tamc_termod_s3/variant.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "Arduino.h"
2+
#include <stdbool.h>
23

34
float getBatteryVoltage() {
45
int analogVolt = analogReadMilliVolts(1);

0 commit comments

Comments
 (0)