mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-11-20 15:52:12 +01:00
ci: signed release provenance, pinned dependencies, security scanning
- Release files get a SHA256SUMS file and a Sigstore-signed build provenance attestation (gh attestation verify). - The workflows read the repo only. A new release job, which runs no build tools, is the only one that can write: it uploads the files with gh and pushes the version bump. The third-party release actions are gone. - Every action is pinned to a commit SHA, esptool and the libraries to exact versions. The release tag reaches the shell through env, and set_version.sh rejects tags that aren't versions. - New workflows: CodeQL (C++ via the native build, JS, Python, Actions), OpenSSF Scorecard, zizmor. Dependabot moves the action pins. - SECURITY.md: private reporting, checking a download. README badges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c7a2dee12
commit
5c57d1a2cd
9 changed files with 306 additions and 77 deletions
|
|
@ -21,11 +21,13 @@ platform = https://github.com/pioarduino/platform-espressif32/releases/download/
|
|||
framework = arduino
|
||||
; Unit tests only run on the PC: pio test -e native
|
||||
test_ignore = *
|
||||
; Exact versions: a new release of a library only gets into the firmware
|
||||
; through a PR that bumps it here.
|
||||
lib_deps =
|
||||
bblanchon/ArduinoJson@^7.2.2
|
||||
knolleary/PubSubClient@^2.8
|
||||
esp32async/ESPAsyncWebServer@^3.12.1
|
||||
esp32async/AsyncTCP@^3.5.0
|
||||
bblanchon/ArduinoJson@7.4.3
|
||||
knolleary/PubSubClient@2.8
|
||||
esp32async/ESPAsyncWebServer@3.12.1
|
||||
esp32async/AsyncTCP@3.5.0
|
||||
extra_scripts =
|
||||
pre:app_version.py
|
||||
pre:minify.py
|
||||
|
|
@ -155,7 +157,7 @@ test_framework = unity
|
|||
test_build_src = yes
|
||||
build_src_filter = -<*> +<Utils.cpp> +<ConfigRecords.cpp> +<MqttDisco.cpp> +<SomfyFrame.cpp> +<JsonFormatter.cpp> +<ShadeMotion.cpp> +<ShadeSensors.cpp> +<ShadeBehaviour.cpp> +<PulseDecoder.cpp> +<TxBuffer.cpp> +<RadioScheduler.cpp> +<ShadeRequests.cpp> +<entryPoints/MqttCommands.cpp> +<ItemSnapshot.cpp> +<ModelEditor.cpp> +<ShadeChanges.cpp> +<ProtoSchema.cpp> +<ProtoFrame.cpp> +<ProtoSync.cpp> +<ProtoParse.cpp> +<ProtoSlots.cpp> +<ProtoOps.cpp> +<ProtoEdits.cpp> +<ProtoSettings.cpp> +<ProtoAssembly.cpp>
|
||||
lib_deps =
|
||||
bblanchon/ArduinoJson@^7.2.2
|
||||
bblanchon/ArduinoJson@7.4.3
|
||||
build_flags =
|
||||
-std=gnu++17
|
||||
-Isrc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue