From 9d5183563c0f049dbc798542f9f86fca96676cc9 Mon Sep 17 00:00:00 2001 From: Bernard <63512176+BernardJen@users.noreply.github.com> Date: Mon, 3 Aug 2026 15:06:57 +0200 Subject: [PATCH] ci: add Dependabot to patch the bundled Electron/Chromium runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Input Viewer is an Electron app: input_viewer_electron pins electron 42.3.3, i.e. a full Chromium runtime shipped inside the app on the videowall PC. That host is patched by win_updates + `winget upgrade` (labs-windows-mgmt), neither of which can see a runtime bundled inside this app — so Chromium security fixes only reach the videowall when Input Viewer is rebuilt with a newer Electron, and nothing currently prompts that rebuild. Add .github/dependabot.yml so the electron pin (and the rest of the toolchain) moves with upstream releases, plus github-actions hygiene. The electron packages are grouped so runtime bumps land as coherent PRs. Ref: LABS-832 Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/dependabot.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..16d7fae --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,37 @@ +# Dependabot keeps the bundled Chromium runtime patched. +# +# Input Viewer is an Electron app, so `electron` in input_viewer_electron/ +# ships a full Chromium runtime on the videowall PC. That host is patched by +# win_updates + `winget upgrade` (labs-windows-mgmt), neither of which can see +# a runtime bundled inside this app — so Chromium security fixes only reach the +# videowall when Input Viewer is rebuilt with a newer Electron. Dependabot is +# what now prompts that rebuild. See LABS-832. +version: 2 +updates: + # The Electron application (bundled Chromium runtime lives here). + - package-ecosystem: "npm" + directory: "/input_viewer_electron" + schedule: + interval: "weekly" + open-pull-requests-limit: 10 + labels: + - "dependencies" + - "security" + groups: + # Keep the Electron toolchain versions coherent in one PR. + electron: + patterns: + - "electron" + - "electron-*" + build-tooling: + patterns: + - "vite" + - "electron-vite" + + # Keep the CI/release GitHub Actions current. + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + labels: + - "dependencies"