What changed, and why it matters
This commit only updates a GitHub Actions CI workflow file. It adds one extra step to initialize a code submodule (QR-Code-generator) before running automated style checks. There is no change to the actual Trezor firmware code, cryptography, or anything users interact with. It is a routine build/maintenance fix with no security relevance.
No security action needed. Treat as normal CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies .github/workflows/prebuild.yml, adding a git submodule update step for vendor/QR-Code-generator so that cargo fmt can run successfully during the style_check job. No source code, secrets, permissions, network exposure, or build artifacts are changed. This is purely a CI dependency-ordering fix.
Changed components
.github/workflows/prebuild.ymlInspect captured patch +2 / −0
diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml
index c2d25588..e1fd38b2 100644
--- a/.github/workflows/prebuild.yml
+++ b/.github/workflows/prebuild.yml
@@ -40,6 +40,8 @@ jobs:
- name: Initialize and update ts-tvl
run: |
git submodule update --init --recursive vendor/ts-tvl
+ - name: Initialize and update QR-Code-generator (needed for cargo fmt)
+ run: git submodule update --init --recursive vendor/QR-Code-generator
- uses: ./.github/actions/environment
- name: "Run style check"
run: nix-shell --run "uv run make style_check BLACK_FAST=0"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.