- set_version.sh: three of its four patterns only matched digits and
dots, so FW_VERSION and index.js stayed at v4.0.0.beta and index.html
at ?v=3.0.14d. They now match any version, and the script fails when a
file doesn't end up with the new one. test/scripts/test_set_version.sh
covers it and runs with the native tests.
- Release job: each build's files are collected from its own folder,
with 4 files each and no name in two builds, before they're signed.
The version bump is made on the release's branch as it is now, not the
tag, so a merge during the builds doesn't reject the push.
- Scorecard reports to code scanning only: publishing from a fork isn't
supported, so no badge.
- New workflows renamed to .yaml like build.yaml. SECURITY.md: the routes
open in Secured mode, and which jobs can write what.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>