ci: add GitHub Actions submodule check workflow
What changed, and why it matters
This commit adds a new automated CI workflow that runs a submodule-checking script whenever a Git tag is pushed. It does not change application code, fix a bug, or alter security behavior of the Electrum wallet itself. It is purely an internal testing/verification automation addition.
No security action required. Treat as routine CI infrastructure change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
A GitHub Actions workflow file .github/workflows/submodules.yml is introduced. It triggers on tag pushes, checks out the repository with submodules, fetches all tags, and executes contrib/deterministic-build/check_submodules.sh. The workflow has read-only contents permission and pins actions/checkout to a specific SHA. No source code, build scripts, or cryptographic checks are modified.
Changed components
.github/workflows/submodules.ymlInspect captured patch +22 / −0
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
new file mode 100644
index 0000000..9ae2996
--- /dev/null
+++ b/.github/workflows/submodules.yml
@@ -0,0 +1,22 @@
+name: check-submodules
+
+on:
+ push:
+ tags: ['*']
+
+permissions:
+ contents: read
+
+jobs:
+ check-submodules:
+ runs-on: ubuntu-24.04
+ steps:
+ - name: Checkout (with submodules and tags)
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ fetch-depth: 0
+ submodules: true
+ - name: Fetch all tags
+ run: git fetch --all --tags
+ - name: Run check_submodules.sh
+ run: ./contrib/deterministic-build/check_submodules.sh
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.