Repository navigation
ci(actions): update github-actions (minor and patch) - #1134
Merged
Merged
Conversation
c-vigo
enabled auto-merge
July 15, 2026 16:42
c-vigo
approved these changes
Jul 15, 2026
renovate
Bot
force-pushed
the
renovate/github-actions-(minor-and-patch)
branch
from
July 15, 2026 17:07
9baadc9 to
1288e25
Compare
This was referenced Jul 15, 2026
Merged
vig-os-release-app Bot
added a commit
to vig-os/devkit-smoke-test
that referenced
this pull request
Jul 15, 2026
# Release 1.3.0 This PR prepares release 1.3.0 for merge to main. ## [1.3.0] - TBD ### Added - **Scaffold CI dependency-review gate** ([#1140](vig-os/devkit#1140)) - Consumer `ci.yml` now runs a standalone `dependency-review` job (`actions/dependency-review-action` v5, `fail-on-severity: high`) that blocks PRs introducing known-vulnerable dependencies off GitHub's dependency graph — no toolchain or container required. - Guarded to public-repo pull requests (the action only diffs base/head on PRs, and the dependency-graph API is unavailable on Free-plan private repos), so private repos get a skipped-neutral run and auto-activate when flipped public (#1039 pattern); `CI Summary` requires it without going red on push/dispatch/private-repo skips. ### Changed - **Smoke-test deploy of 1.3.0** -- automated devcontainer release-pipeline validation; no functional changes - **Renovate dependency update** ([#1134](vig-os/devkit#1134)) - Update `actions/setup-node` from `v6.4.0` to `v6.5.0` - Update `cachix/install-nix-action` from `v31.10.7` to `v31.11.0` - Update `vig-os/commit-action` from `v0.2.0` to `v0.3.0` - **Renovate: update `actions/setup-node` from `v6.4.0` to `v7.0.0`** ([#1135](vig-os/devkit#1135)) - **Evict perl from the image (neovim without wl-clipboard)** ([#1108](vig-os/devkit#1108)) - perl 5.42.0 and its module stack (libwww-perl, XML-Twig, File-MimeInfo, X11-Protocol, …) had one remaining anchor after [#1107](vig-os/devkit#1107) swapped full `git` for `gitMinimal`: `neovim → wl-clipboard → xdg-utils → perl`. The nixpkgs neovim wrapper suffixes `wl-clipboard` onto the wrapped binary's PATH as the Wayland clipboard provider (`waylandSupport`, on by default on Linux), and wl-clipboard drags xdg-utils, which drags perl. - In a headless container this provider is dead code — there is no Wayland socket, so `wl-copy`/`wl-paste` never run. The clipboard path that actually works over VS Code remote / SSH is OSC52, which nvim >= 0.10 uses natively when no display clipboard tool is on PATH. - The image now re-wraps `neovim-unwrapped` with `wrapNeovimUnstable` (replicating the stock legacy wrap — empty rc, providers disabled — but with `waylandSupport = false`), evicting the wl-clipboard → xdg-utils → perl subtree. Measured **~108 MiB** off the uncompressed closure (1,758,754,952 → 1,645,235,648 bytes). - Dev-shell behavior is unchanged: `devTools` still ships the stock wrapped neovim (which keeps wl-clipboard for real Wayland hosts); the swap is scoped to the image only. - **Restrict image locales to en_US.UTF-8** ([#1104](vig-os/devkit#1104)) - The image shipped the full 222 MiB upstream `glibcLocales` archive but only ever uses `en_US.UTF-8`. The `imageTools` entry and the `LOCALE_ARCHIVE` OCI-config env now share one overridden derivation (`allLocales = false; locales = [ "en_US.UTF-8/UTF-8" ]`), so exactly one small (~3 MiB) locale path lands in the closure — a ~220 MiB uncompressed reduction with zero functional change. - **Drop vestigial baked bandit from the image** ([#1105](vig-os/devkit#1105)) - Hooks already run the venv bandit via `uv run` (pinned `bandit[toml]==1.9.4`); the baked copy was unused. - Removes ~74 MiB from the image closure — a stray CPython 3.13 package stack (nixpkgs builds `bandit` on 3.13 while the image toolchain is 3.14) plus a duplicate `git-minimal` pulled in via gitpython. - **Evict the redundant CPython 3.13 interpreter from the image** ([#1107](vig-os/devkit#1107)) - The image carried a second CPython interpreter (`python3-3.13.13`, 127 MiB) that the chosen toolchain (`python3.14`, `UV_PYTHON`, `vig-utils`) never uses. It was held by four independent anchors, all of which had to fall: `bandit` ([#1105](vig-os/devkit#1105)), `criu` via the podman runtime ([#1106](vig-os/devkit#1106)), full `git` (git-p4/python helpers), and `actionlint` (its optional `python3.13-pyflakes` lint wrapper) — the last two removed here. - The image now ships `gitMinimal` (`perlSupport`/`pythonSupport`/ `guiSupport`/`withManual` all off) instead of full `git`, and an `overrideAttrs`'d `actionlint` whose wrapper drops `pyflakes` (keeping `shellcheck`). Together this evicts the 3.13 interpreter and full git's `git-doc`, measuring **~149 MiB** off the uncompressed closure beyond the bandit/criu cuts. - Contract (declared non-contract in [#1103](vig-os/devkit#1103), `semver:minor`): the image loses `git send-email`/`svn`/`p4`/`gitk`/`git gui` and built-in `git help <cmd>` man pages, and actionlint's inline-python lint on workflow `run:` steps. Builtin-C porcelain (`log`, `commit`, `rebase -i`, `add -p`, worktrees) and SSH commit signing are unaffected; `gettext` stays (still linked by gitMinimal for i18n). - Dev-shell behavior is unchanged: `devTools` still ships full `git` and stock `actionlint`; the swaps are scoped to the image only. - **Replace in-image podman runtime with DooD-only client** ([#1106](vig-os/devkit#1106)) - The image now ships a client-only podman: its local-runtime helpers (`crun`, `criu`, `conmon`, `netavark`, `passt`, `libkrun`/`libkrunfw`, `aardvark-dns`, `fuse-overlayfs`, `runc`) are `.override`n with an empty stub, dropping ~67 MiB of uncompressed image closure. The epic's ~254 MiB estimate assumed removing podman entirely; retaining the client binary (~54 MiB) and `systemd` (rpath-linked into it; `systemdMinimal` breaks `podman logs` per the nixpkgs pin) reduces the net saving to ~67 MiB. - In-container isolated (nested) container execution is removed — the retired podman-in-podman sidecar model, declared non-contract in [#1103](vig-os/devkit#1103). - Docker-out-of-Docker against the host's rootless podman socket (the consumer scaffold's existing `DOCKER_HOST` wiring) is unchanged. - The `docker -> podman` shim is retained and now execs the client-only podman. - Dev-shell behavior is unchanged: `devTools` still ships the full podman runtime for daemonless `podman run` on a real host; the swap is scoped to the image only. ### Fixed - **Gate promote on release-PR mergeability before the irreversible publish** ([#1132](vig-os/devkit#1132)) - `promote-release.yml`'s `validate` job verified the release PR was non-draft, approved, and CI-green but never checked whether it was actually *mergeable*. Because the sequence is `validate → promote (undraft, one-way under immutable releases) → merge`, a PR that was `BEHIND` `main` (or `BLOCKED`/`DIRTY`) passed validation, the GitHub Release was published, and only then did the merge fail — leaving a half-promoted release whose PR never reached `main` and which cannot be re-run to recover. - The `validate` PR check now fetches `mergeable`/`mergeStateStatus` and fails fast unless the PR is mergeable, re-querying while GitHub is still computing the state (`UNKNOWN`). Keeps the invariant: never start the irreversible publish unless the merge can succeed. - **Migrate hand-added root `.gitignore` lines into `.gitignore.project` on upgrade** ([#1111](vig-os/devkit#1111)) - The [#1092](vig-os/devkit#1092) fix made `.gitignore.project` the durable home for repo-root ignores, but the upgrade that introduces it seeds it empty — so any ignores a consumer had hand-added directly to the managed (regenerated) root `.gitignore` (`.DS_Store`, editor/OS cruft, project paths) were silently dropped when `render_gitignore` rebuilt root `.gitignore` from the template. - `init-workspace.sh` now snapshots the pre-overwrite root `.gitignore` and migrates its consumer-added entries (non-blank, non-comment lines that are not provided by the template base, an active language fragment, or the #1092 seed, and not already present) into `.gitignore.project`, from where they flow back into the regenerated root `.gitignore`. The migration is append-only and deduplicated, so it never reorders the consumer's existing entries and a second upgrade re-adds nothing (idempotent); it prints the count and list of migrated lines. - **Install project deps before building the release artifact** ([#1130](vig-os/devkit#1130)) - The `Build release artifact` step in `release-core.yml` ran `just bundle` without a preceding `just sync`, so a JS-Action consumer's bundler (`ncc`, a devDependency) was absent from PATH — the finalization step exited 127 and the `final` release rolled back. Only surfaced on a real `final` release (the step is gated on `release_kind == 'final'` and a detected `bundle` recipe). - The step now runs `just sync` (language-neutral: `npm ci` / `uv sync`) before `just bundle`, matching every other build job. No-op for consumers without a bundle recipe. - **Wire `core.hooksPath` for direnv consumers** ([#1112](vig-os/devkit#1112)) - In direnv / `nix develop` mode the dev-shell never set `core.hooksPath`, so commit-time hooks (pre-commit / commit-msg via prek) were silently inactive until the consumer set it by hand — a local commit could bypass the gate with only CI catching it later. Devcontainer mode already wired it in setup. - `mkProjectShell`'s shellHook now sets `core.hooksPath` → `.githooks` on shell entry, mirroring the devcontainer and reinforcing the `.githooks` entry-point invariant (never installing into `.git/hooks`, never unsetting it). - Guarded to a scaffold-shaped repo (a `.githooks/` directory at the git toplevel) and to the main worktree, so it leaves non-scaffold consumers untouched and never fights the worktree flow (which deliberately unsets `core.hooksPath` and installs prek hooks directly); idempotent on re-entry. - **Post-scaffold dependency sync is mode-aware and no longer aborts a successful upgrade** ([#1118](vig-os/devkit#1118)) - In `direnv` and `bare` modes the container-side `just sync` is now skipped entirely: the consumer's host nix/direnv shell owns dependency install, and a container-side `npm ci`/`uv sync` would write wrong-platform, wrong-owner artifacts into the bind-mounted workspace. An informational line notes the skip. - In `devcontainer`/`both` modes the sync still runs but is non-fatal — a failure (e.g. `npm error Exit handler never called!`) now warns and continues instead of aborting init with a misleading "Failed to initialize workspace", since the scaffold itself is already complete. - **Preserve a flake-hooks `.pre-commit-config.yaml` store symlink on upgrade** ([#1117](vig-os/devkit#1117)) - In direnv mode a flake with `hooks = { }` generates `.pre-commit-config.yaml` as a symlink into the host `/nix/store`, which is not mounted inside the image where `init-workspace.sh` runs — so the symlink is dangling from the container's view. The preserve/exclude and report gates tested presence with `-e`/`-f`, which follow the link and reported it absent, so `rsync -avL` overwrote the symlink with the ~6 KB template config and the [#1092](vig-os/devkit#1092) ignore auto-seed never fired — leaving a committed, non-ignored template shadowing the generated config (observed on `commit-action` 1.2.0→1.2.1). - A new `path_present` helper treats a symlink of any kind (including a dangling one) as present at all three gates — the rsync exclude builder, the add/preserve report classification (`--preview` now lists it as PRESERVED), and the `PRECOMMIT_CONFIG_PREEXISTED` divergence guard — so the symlink survives untouched and the ignore seed still runs. - **Preserve tag-scheme keys across `--force` upgrades** ([#1116](vig-os/devkit#1116)) - `init-workspace.sh` read back `DEVKIT_MODE`/identity/`DEVKIT_MODULES` before the managed-template overwrite of `.vig-os`, but not `DEVKIT_TAG_PREFIX` or `DEVKIT_FLOATING_TAGS`, so an upgrade silently reset a consumer's release tag scheme to the empty template defaults (observed cutting bare tags and stalling floating tags on the commit-action 1.2.0 → 1.2.1 upgrade). - Both keys are now read before the overwrite and written back (bare, matching the template's unquoted form) when the consumer set them. - **Post-promote sync-main-to-dev no longer conflicts on the workspace changelog mirror** ([#1115](vig-os/devkit#1115)) - The prepare extension's sibling-commit reconcile left the mirror's merge base at pre-freeze content, so `assets/workspace/.devcontainer/CHANGELOG.md` conflicted in the post-promote sync-main-to-dev merge every release cycle ([#1091](vig-os/devkit#1091), [#1114](vig-os/devkit#1114)). - The extension now fast-forwards dev to the release branch's mirror-sync commit (a non-force app ref update, taken only while dev still sits on the freeze commit) so the mirror rewrite is shared ancestry — the same property that keeps the root changelog conflict-free. - A dev-advanced race (or any ref-update failure) falls back to the previous sibling-commit reconcile, exactly the status quo. ### Security - **Drop vestigial job-level `GITHUB_TOKEN` write grants from workflow templates** ([#1136](vig-os/devkit#1136)) - An OpenSSF Scorecard TokenPermissions audit traced every job-level `contents: write` / `actions: write` grant in the rendered release/sync workflows to the token that performs the write: each git push, tag push, `gh release`, `gh pr`, `gh api` mutation and `gh workflow run` rides a COMMIT_APP / RELEASE_APP installation token, not the job's `GITHUB_TOKEN`. - Those grants are now reduced to `read` across `prepare-release.yml` (prepare, rollback), `promote-release.yml` (validate, promote, merge, cleanup, floating-tags), `release.yml` (core + publish caller blocks, rollback), `release-core.yml` (finalize), `release-publish.yml` (publish), `sync-issues.yml` (sync) and `sync-main-to-dev.yml` (sync), shrinking the blast radius of a compromised step to a read-only `GITHUB_TOKEN`. - `promote-release.yml`'s *Verify draft GitHub Release exists* step now reads drafts with the RELEASE_APP token (GitHub only returns drafts to a token with push access), so the `validate` job can drop to `contents: read` without hiding the draft. `sync-issues.yml`'s `sync` job keeps `actions: write` — its cache-deletion step calls `gh api ... -X DELETE` on `github.token`. - **Retire the perl 5.42.0 CVE exception batch** ([#1108](vig-os/devkit#1108)) - With perl gone from the image closure (neovim no longer anchors it via wl-clipboard → xdg-utils), the perl 5.42.0 CVE exceptions in `.vulnixignore` are **deleted** rather than maintained: CVE-2026-4176, and the CPANSec batch CVE-2026-13221 / CVE-2026-57432 (accepted "pending upstream stable fix" in [#1097](https://github.com/vig-os/devkit/issues/1097)/[#1098](https://github.com/vig-os/devkit/issues/1098), fixed only in the perl 5.43.x development series). Fewer packages, fewer exceptions to babysit; the nightly vulnix scan no longer needs them.
vig-os-release-app Bot
added a commit
that referenced
this pull request
Jul 15, 2026
# [Release 1.3.0](https://github.com/vig-os/devkit/releases/tag/1.3.0) - 2026-07-15 This PR prepares release 1.3.0 for merge to main. ## [1.3.0](https://github.com/vig-os/devkit/releases/tag/1.3.0) - 2026-07-15 ### Added - **Scaffold CI dependency-review gate** ([#1140](#1140)) - Consumer `ci.yml` now runs a standalone `dependency-review` job (`actions/dependency-review-action` v5, `fail-on-severity: high`) that blocks PRs introducing known-vulnerable dependencies off GitHub's dependency graph — no toolchain or container required. - Guarded to public-repo pull requests (the action only diffs base/head on PRs, and the dependency-graph API is unavailable on Free-plan private repos), so private repos get a skipped-neutral run and auto-activate when flipped public (#1039 pattern); `CI Summary` requires it without going red on push/dispatch/private-repo skips. ### Changed - **Renovate dependency update** ([#1134](#1134)) - Update `actions/setup-node` from `v6.4.0` to `v6.5.0` - Update `cachix/install-nix-action` from `v31.10.7` to `v31.11.0` - Update `vig-os/commit-action` from `v0.2.0` to `v0.3.0` - **Renovate: update `actions/setup-node` from `v6.4.0` to `v7.0.0`** ([#1135](#1135)) - **Evict perl from the image (neovim without wl-clipboard)** ([#1108](#1108)) - perl 5.42.0 and its module stack (libwww-perl, XML-Twig, File-MimeInfo, X11-Protocol, …) had one remaining anchor after [#1107](#1107) swapped full `git` for `gitMinimal`: `neovim → wl-clipboard → xdg-utils → perl`. The nixpkgs neovim wrapper suffixes `wl-clipboard` onto the wrapped binary's PATH as the Wayland clipboard provider (`waylandSupport`, on by default on Linux), and wl-clipboard drags xdg-utils, which drags perl. - In a headless container this provider is dead code — there is no Wayland socket, so `wl-copy`/`wl-paste` never run. The clipboard path that actually works over VS Code remote / SSH is OSC52, which nvim >= 0.10 uses natively when no display clipboard tool is on PATH. - The image now re-wraps `neovim-unwrapped` with `wrapNeovimUnstable` (replicating the stock legacy wrap — empty rc, providers disabled — but with `waylandSupport = false`), evicting the wl-clipboard → xdg-utils → perl subtree. Measured **~108 MiB** off the uncompressed closure (1,758,754,952 → 1,645,235,648 bytes). - Dev-shell behavior is unchanged: `devTools` still ships the stock wrapped neovim (which keeps wl-clipboard for real Wayland hosts); the swap is scoped to the image only. - **Restrict image locales to en_US.UTF-8** ([#1104](#1104)) - The image shipped the full 222 MiB upstream `glibcLocales` archive but only ever uses `en_US.UTF-8`. The `imageTools` entry and the `LOCALE_ARCHIVE` OCI-config env now share one overridden derivation (`allLocales = false; locales = [ "en_US.UTF-8/UTF-8" ]`), so exactly one small (~3 MiB) locale path lands in the closure — a ~220 MiB uncompressed reduction with zero functional change. - **Drop vestigial baked bandit from the image** ([#1105](#1105)) - Hooks already run the venv bandit via `uv run` (pinned `bandit[toml]==1.9.4`); the baked copy was unused. - Removes ~74 MiB from the image closure — a stray CPython 3.13 package stack (nixpkgs builds `bandit` on 3.13 while the image toolchain is 3.14) plus a duplicate `git-minimal` pulled in via gitpython. - **Evict the redundant CPython 3.13 interpreter from the image** ([#1107](#1107)) - The image carried a second CPython interpreter (`python3-3.13.13`, 127 MiB) that the chosen toolchain (`python3.14`, `UV_PYTHON`, `vig-utils`) never uses. It was held by four independent anchors, all of which had to fall: `bandit` ([#1105](#1105)), `criu` via the podman runtime ([#1106](#1106)), full `git` (git-p4/python helpers), and `actionlint` (its optional `python3.13-pyflakes` lint wrapper) — the last two removed here. - The image now ships `gitMinimal` (`perlSupport`/`pythonSupport`/ `guiSupport`/`withManual` all off) instead of full `git`, and an `overrideAttrs`'d `actionlint` whose wrapper drops `pyflakes` (keeping `shellcheck`). Together this evicts the 3.13 interpreter and full git's `git-doc`, measuring **~149 MiB** off the uncompressed closure beyond the bandit/criu cuts. - Contract (declared non-contract in [#1103](#1103), `semver:minor`): the image loses `git send-email`/`svn`/`p4`/`gitk`/`git gui` and built-in `git help <cmd>` man pages, and actionlint's inline-python lint on workflow `run:` steps. Builtin-C porcelain (`log`, `commit`, `rebase -i`, `add -p`, worktrees) and SSH commit signing are unaffected; `gettext` stays (still linked by gitMinimal for i18n). - Dev-shell behavior is unchanged: `devTools` still ships full `git` and stock `actionlint`; the swaps are scoped to the image only. - **Replace in-image podman runtime with DooD-only client** ([#1106](#1106)) - The image now ships a client-only podman: its local-runtime helpers (`crun`, `criu`, `conmon`, `netavark`, `passt`, `libkrun`/`libkrunfw`, `aardvark-dns`, `fuse-overlayfs`, `runc`) are `.override`n with an empty stub, dropping ~67 MiB of uncompressed image closure. The epic's ~254 MiB estimate assumed removing podman entirely; retaining the client binary (~54 MiB) and `systemd` (rpath-linked into it; `systemdMinimal` breaks `podman logs` per the nixpkgs pin) reduces the net saving to ~67 MiB. - In-container isolated (nested) container execution is removed — the retired podman-in-podman sidecar model, declared non-contract in [#1103](#1103). - Docker-out-of-Docker against the host's rootless podman socket (the consumer scaffold's existing `DOCKER_HOST` wiring) is unchanged. - The `docker -> podman` shim is retained and now execs the client-only podman. - Dev-shell behavior is unchanged: `devTools` still ships the full podman runtime for daemonless `podman run` on a real host; the swap is scoped to the image only. ### Fixed - **Gate promote on release-PR mergeability before the irreversible publish** ([#1132](#1132)) - `promote-release.yml`'s `validate` job verified the release PR was non-draft, approved, and CI-green but never checked whether it was actually *mergeable*. Because the sequence is `validate → promote (undraft, one-way under immutable releases) → merge`, a PR that was `BEHIND` `main` (or `BLOCKED`/`DIRTY`) passed validation, the GitHub Release was published, and only then did the merge fail — leaving a half-promoted release whose PR never reached `main` and which cannot be re-run to recover. - The `validate` PR check now fetches `mergeable`/`mergeStateStatus` and fails fast unless the PR is mergeable, re-querying while GitHub is still computing the state (`UNKNOWN`). Keeps the invariant: never start the irreversible publish unless the merge can succeed. - **Migrate hand-added root `.gitignore` lines into `.gitignore.project` on upgrade** ([#1111](#1111)) - The [#1092](#1092) fix made `.gitignore.project` the durable home for repo-root ignores, but the upgrade that introduces it seeds it empty — so any ignores a consumer had hand-added directly to the managed (regenerated) root `.gitignore` (`.DS_Store`, editor/OS cruft, project paths) were silently dropped when `render_gitignore` rebuilt root `.gitignore` from the template. - `init-workspace.sh` now snapshots the pre-overwrite root `.gitignore` and migrates its consumer-added entries (non-blank, non-comment lines that are not provided by the template base, an active language fragment, or the #1092 seed, and not already present) into `.gitignore.project`, from where they flow back into the regenerated root `.gitignore`. The migration is append-only and deduplicated, so it never reorders the consumer's existing entries and a second upgrade re-adds nothing (idempotent); it prints the count and list of migrated lines. - **Install project deps before building the release artifact** ([#1130](#1130)) - The `Build release artifact` step in `release-core.yml` ran `just bundle` without a preceding `just sync`, so a JS-Action consumer's bundler (`ncc`, a devDependency) was absent from PATH — the finalization step exited 127 and the `final` release rolled back. Only surfaced on a real `final` release (the step is gated on `release_kind == 'final'` and a detected `bundle` recipe). - The step now runs `just sync` (language-neutral: `npm ci` / `uv sync`) before `just bundle`, matching every other build job. No-op for consumers without a bundle recipe. - **Wire `core.hooksPath` for direnv consumers** ([#1112](#1112)) - In direnv / `nix develop` mode the dev-shell never set `core.hooksPath`, so commit-time hooks (pre-commit / commit-msg via prek) were silently inactive until the consumer set it by hand — a local commit could bypass the gate with only CI catching it later. Devcontainer mode already wired it in setup. - `mkProjectShell`'s shellHook now sets `core.hooksPath` → `.githooks` on shell entry, mirroring the devcontainer and reinforcing the `.githooks` entry-point invariant (never installing into `.git/hooks`, never unsetting it). - Guarded to a scaffold-shaped repo (a `.githooks/` directory at the git toplevel) and to the main worktree, so it leaves non-scaffold consumers untouched and never fights the worktree flow (which deliberately unsets `core.hooksPath` and installs prek hooks directly); idempotent on re-entry. - **Post-scaffold dependency sync is mode-aware and no longer aborts a successful upgrade** ([#1118](#1118)) - In `direnv` and `bare` modes the container-side `just sync` is now skipped entirely: the consumer's host nix/direnv shell owns dependency install, and a container-side `npm ci`/`uv sync` would write wrong-platform, wrong-owner artifacts into the bind-mounted workspace. An informational line notes the skip. - In `devcontainer`/`both` modes the sync still runs but is non-fatal — a failure (e.g. `npm error Exit handler never called!`) now warns and continues instead of aborting init with a misleading "Failed to initialize workspace", since the scaffold itself is already complete. - **Preserve a flake-hooks `.pre-commit-config.yaml` store symlink on upgrade** ([#1117](#1117)) - In direnv mode a flake with `hooks = { }` generates `.pre-commit-config.yaml` as a symlink into the host `/nix/store`, which is not mounted inside the image where `init-workspace.sh` runs — so the symlink is dangling from the container's view. The preserve/exclude and report gates tested presence with `-e`/`-f`, which follow the link and reported it absent, so `rsync -avL` overwrote the symlink with the ~6 KB template config and the [#1092](#1092) ignore auto-seed never fired — leaving a committed, non-ignored template shadowing the generated config (observed on `commit-action` 1.2.0→1.2.1). - A new `path_present` helper treats a symlink of any kind (including a dangling one) as present at all three gates — the rsync exclude builder, the add/preserve report classification (`--preview` now lists it as PRESERVED), and the `PRECOMMIT_CONFIG_PREEXISTED` divergence guard — so the symlink survives untouched and the ignore seed still runs. - **Preserve tag-scheme keys across `--force` upgrades** ([#1116](#1116)) - `init-workspace.sh` read back `DEVKIT_MODE`/identity/`DEVKIT_MODULES` before the managed-template overwrite of `.vig-os`, but not `DEVKIT_TAG_PREFIX` or `DEVKIT_FLOATING_TAGS`, so an upgrade silently reset a consumer's release tag scheme to the empty template defaults (observed cutting bare tags and stalling floating tags on the commit-action 1.2.0 → 1.2.1 upgrade). - Both keys are now read before the overwrite and written back (bare, matching the template's unquoted form) when the consumer set them. - **Post-promote sync-main-to-dev no longer conflicts on the workspace changelog mirror** ([#1115](#1115)) - The prepare extension's sibling-commit reconcile left the mirror's merge base at pre-freeze content, so `assets/workspace/.devcontainer/CHANGELOG.md` conflicted in the post-promote sync-main-to-dev merge every release cycle ([#1091](#1091), [#1114](#1114)). - The extension now fast-forwards dev to the release branch's mirror-sync commit (a non-force app ref update, taken only while dev still sits on the freeze commit) so the mirror rewrite is shared ancestry — the same property that keeps the root changelog conflict-free. - A dev-advanced race (or any ref-update failure) falls back to the previous sibling-commit reconcile, exactly the status quo. ### Security - **Drop vestigial job-level `GITHUB_TOKEN` write grants from workflow templates** ([#1136](#1136)) - An OpenSSF Scorecard TokenPermissions audit traced every job-level `contents: write` / `actions: write` grant in the rendered release/sync workflows to the token that performs the write: each git push, tag push, `gh release`, `gh pr`, `gh api` mutation and `gh workflow run` rides a COMMIT_APP / RELEASE_APP installation token, not the job's `GITHUB_TOKEN`. - Those grants are now reduced to `read` across `prepare-release.yml` (prepare, rollback), `promote-release.yml` (validate, promote, merge, cleanup, floating-tags), `release.yml` (core + publish caller blocks, rollback), `release-core.yml` (finalize), `release-publish.yml` (publish), `sync-issues.yml` (sync) and `sync-main-to-dev.yml` (sync), shrinking the blast radius of a compromised step to a read-only `GITHUB_TOKEN`. - `promote-release.yml`'s *Verify draft GitHub Release exists* step now reads drafts with the RELEASE_APP token (GitHub only returns drafts to a token with push access), so the `validate` job can drop to `contents: read` without hiding the draft. `sync-issues.yml`'s `sync` job keeps `actions: write` — its cache-deletion step calls `gh api ... -X DELETE` on `github.token`. - **Retire the perl 5.42.0 CVE exception batch** ([#1108](#1108)) - With perl gone from the image closure (neovim no longer anchors it via wl-clipboard → xdg-utils), the perl 5.42.0 CVE exceptions in `.vulnixignore` are **deleted** rather than maintained: CVE-2026-4176, and the CPANSec batch CVE-2026-13221 / CVE-2026-57432 (accepted "pending upstream stable fix" in [#1097](https://github.com/vig-os/devkit/issues/1097)/[#1098](https://github.com/vig-os/devkit/issues/1098), fixed only in the perl 5.43.x development series). Fewer packages, fewer exceptions to babysit; the nightly vulnix scan no longer needs them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v31.10.7→v31.11.0v0.2.0→v0.3.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
cachix/install-nix-action (cachix/install-nix-action)
v31.11.0Compare Source
What's Changed
Release notes: https://discourse.nixos.org/t/nix-2-35-0-released/78914
Full Changelog: cachix/install-nix-action@v31.10.7...v31.11.0
vig-os/commit-action (vig-os/commit-action)
v0.3.0Compare Source
Added
js-qualityworkflow gates every PR onjust lintandjust format-check(a new read-only recipe backed byprettier --check src). Neither eslint nor prettier was enforced anywhere before: the scaffold-managedci.ymlhas a "Lint & Format" job, but it runs only the prek hook suite, which contains no JS linter or formatter. That is precisely how the broken globs above survived — the scripts were never run by anything but a human. Fixing them without a gate would have let them rot again the same way (issue #66).e2e-smokeworkflow executes the committed bundle against the real GitHub API on every PR, running the action the way a consumer does (uses: ./) rather than importing its source. It commits a file to a scratch branch through the full REST flow and asserts the commit exists, is signed, and carries the expected content, then deletes the branch. Nothing previously executeddist/index.js: the unit tests importmain()directly and the repo dogfoodscommit-actionat a pinned released SHA. That gap is not theoretical — the ESM migration found that the CommonJSrequire.main === moduleentry guard does not survive bundling to ESM, leaving the bundled action a silent no-op (exit 0, nothing committed) that 84 passing unit tests could not see (issue #58).dist/index.jscan never reach a tag. A new consumer-owneddist-checkworkflow rebuilds the bundle on every PR torelease/**/mainand fails when the committeddist/index.jsdiffers, and the release-timerelease-extensionhook re-verifies the finalized commit before it is tagged (rolling the release back on drift). Both rebuild with the pinned dev-shell toolchain (issue #59). The gate is deliberately scoped to the release boundary —devis not gated, since nothing ships fromdevand gating it would fail every Renovate runtime-dependency bump (issue #71).Changed
1.2.1and declared the per-repo release tag scheme in.vig-os:DEVKIT_TAG_PREFIX=vrestores this repo's historicalv-prefixed tags (vX.Y.Z) through the release pipeline, andDEVKIT_FLOATING_TAGS=major,minorforce-moves the floatingv0/v0.Xtags to each promoted release automatically — both were previously moved by hand. Consumers can pin@v0(floating major), an exact@vX.Y.Z, or a SHA (issue #62). The first attempt to ship 0.3.0 on devkit1.2.0failed in the automated release workflow: the scaffoldedrelease-core.ymlapplied the draft + approval gate to every release kind, so a release-candidate dispatch aborted against its still-draft PR. 1.2.1 guards that gate behindrelease_kind=final(candidates gate on CI only), fixing the failure (vig-os/devkit#1095, issue #79). 1.2.1 also folds thedist/src/tsc/nccdeclaration byproducts into the managed.gitignore(vig-os/devkit#1092), retiring this repo's bespokedist/.gitignore, and moves the flake-generated.pre-commit-config.yamlsymlink ignore to the new consumer-owned.gitignore.project; thevigosflake input is bumped to1.2.1to match the scaffold (issues #62, #79).@actions/*toolkit went ESM-only at its next major (norequirecondition in itsexportsmap at all), so@actions/corev3,@actions/githubv9 and@actions/http-clientv4 were unlandable individually and had to move together (issues #49, #50, #51). The package is now"type": "module", TypeScript resolves withmodule/moduleResolution: nodenext, relative imports carry explicit.jsextensions, andnccemits an ESM bundle (plus a smalldist/package.jsondeclaring the bundle's module type, now tracked alongsidedist/index.js). Jest runs in ESM mode: the module mocks moved fromjest.mock+ a__mocks__manual mock tojest.unstable_mockModulewith dynamic imports, and the oldsrc/__tests__/setup.tsis gone. All 84 tests are preserved unchanged (issue #58).moduleResolution: nodealso fixed a silent type hole: classic resolution ignoresexportsmaps, so@octokit/core/typesnever resolved and everyoctokit.rest.*call insrc/commit.tsdegraded toany— the entire signed-commit REST flow was unchecked. Those calls are now type-checked against real Octokit types. This additionally unblocks TypeScript 7, which removesmoduleResolution: nodeoutright (issue #54).@actions/http-clientandundicioverridespins. Thehttp-clientpin (3.0.2) was what actually blocked the v4 major, and theundicipin is now redundant:@actions/http-clientv4 depends onundici: ^6.23.0, which resolves to the same6.27.0the pin was added to force (npm auditreports no runtime vulnerabilities).eslint.config.mjs, replacing.eslintrc.json) and bumpedeslintfrom8.57to10.x. ESLint 9 made flat config the default and ESLint 10 removed the legacy.eslintrcpath entirely. The rule set is a faithful port — same base configs and the same two overrides — with thenode/es6/jestenvironments becominglanguageOptions.globals.@typescript-eslint/eslint-pluginand@typescript-eslint/parserare replaced by thetypescript-eslintmeta package, the canonical v8 flat-config entry point (issue #64).undicifrom6.23.0to6.27.0(#41)jest29.7.0→30.4.2and@types/jest→30.0.0(#55);@typescript-eslint/eslint-pluginand@typescript-eslint/parser6.13.0→8.64.0(#56);@vercel/ncc0.38.4→0.44.1(#46);ts-jest→29.4.11(#45);prettier→3.9.5(#47);tsx→4.23.1(#48). Batched into one branch because each Renovate PR touchedpackage-lock.jsonandCHANGELOG.mdand so conflicted pairwise; the lockfile is regenerated once here rather than rebased six times. Side effect:ts-jest29.4.11dropshandlebars, clearing the onlycriticaladvisory — known dev-dependency vulnerabilities go from 10 to 5.createTree(percreateBloband per chainedcreateTreechunk) instead of wrapping the whole multi-call tree operation; a transient mid-batch failure now retries only the failing call rather than re-uploading already-succeeded blobs and tree chunks (issue #24).createTreeagainst oversized commit payloads: chunk boundaries are now payload-size-aware — a newcreateTreerequest starts once a chunk approachesTREE_ENTRY_BYTE_LIMIT(6 MiB) of approximate serialized content, in addition to the existingTREE_ENTRY_CHUNK_SIZE(100) entry cap (whichever limit is hit first). Text files whose size exceedsINLINE_CONTENT_SIZE_LIMIT(1 MiB) are now uploaded viacreateBlob(base64) instead of inlined, keeping requests well under GitHub's request-body limit for very large text change sets (issue #22).node20tonode24ahead of GitHub removing the Node 20 Actions runtime on 2026-09-16 (issue #14). Bumped@types/nodeto the v24 line and raised the TypeScripttarget/libtoES2023.action.ymlauthor(wasSync Issues Bot, copy-pasted fromsync-issues-action) and pinned the README Action usage example to@v0.2.0, dropping the now-obsolete@mainnote since the inlinecreateTreeoptimization shipped inv0.2.0(#63).Removed
dist/src/(.d.ts,.js, and.mapfiles) that had been committed by accident.tsconfig.jsonsetsoutDir: ./distwithdeclaration/declarationMap, so bothnpm run build(tsc) andnpm run bundle(ncc) emit them, while the.gitignorerule meant to exclude them (dist/__tests__) never matched their real path (dist/src/__tests__). The rule is nowdist/*plus a!dist/index.jsre-admit, so only the runtime artifact the action actually executes is tracked. Their.d.ts.mapfiles embed absolutefile://source paths and so were regenerated differently at every checkout location — which is what forced the #59 freshness gate to be scoped todist/index.js; with them gone, both gates (dist-check,release-extension) now verify the wholedist/tree, and check it withgit statusrather thangit diffso that build output which is emitted but never committed also fails the gate (issue #70).Fixed
npm run lintandnpm run formathad never checked the real source. Both globbed withsrc/**/*.ts, but npm runs scripts throughsh, which has no globstar — so**degraded to a single*and the pattern collapsed tosrc/*/*.ts, matching only files exactly one directory deep. In practice that was a single test-setup file;src/commit.ts,src/commit-runner.tsandsrc/retry.ts— the entire production surface — were matched by neither script. The scripts now pass the directory (eslint src,prettier --write src) and let each tool expand its own globs with correct**semantics (issue #66).causewhencommit-runnerrethrows agit statusfailure, so the underlyingexecSyncerror is no longer discarded (surfaced by the above; ESLint 10'spreserve-caught-error).bytesReadinisBinaryFromStat. Not a correctness bug — the value was always overwritten before being read — but it masked the read from the compiler's definite-assignment analysis (no-useless-assignment).Configuration
📅 Schedule: (in timezone Etc/UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.