Skip to content

security: harden CI supply chain and patch transitive CVEs - #43

Merged
JadenRazo merged 3 commits into
mainfrom
ci/node20-runner-migration
Aug 30, 2026
Merged

JadenRazo merged 3 commits into
mainfrom
ci/node20-runner-migration

Conversation

@JadenRazo

@JadenRazo JadenRazo commented Aug 15, 2026 •

Copy link
Copy Markdown
Owner

Pins checkout, setup-node, pnpm setup, Postgres, and Redis to immutable commits or digests. Adds explicit read-only permissions, concurrency cancellation, timeouts, and a gated workflow policy with negative tests. Removes the inert profile-dispatch workflow. Patches the newly disclosed high-severity deepmerge-ts and nanoid advisories with narrowly scoped pnpm overrides.\n\nVerified locally: frozen install; Prisma generate; API build; dashboard production build; API and dashboard lint (warnings only); 27 API tests; live pnpm audit with no known vulnerabilities; workflow YAML and policy negative tests.

Node 20 is removed from GitHub Actions runners on 2026-09-16. checkout v4,
setup-node v4 and pnpm/action-setup v4 all run on it. -> v6 across the board.

Deleted .github/workflows/notify-profile.yml, for the opposite reason to the
identical change in EzWeb. This copy is green - but only because it was made
unable to fail. It reads secrets.PROFILE_DISPATCH_TOKEN, finds nothing (this
repository has no secrets at all), prints "::notice::PROFILE_DISPATCH_TOKEN not
set - skipping LOC ping" and exits 0. It has reported success on every run since
2026-05-16 while doing nothing whatsoever.

That is worse than the EzWeb version, which at least failed honestly. A job that
cannot do its work and reports success is a green check that means nothing.

The work does not need doing anyway: JadenRazo/JadenRazo's loc-counter.yml runs
daily on its own schedule with its own working PAT, and its last six runs all
succeeded. The dispatch was only ever a latency optimisation on a cosmetic
counter.
@JadenRazo JadenRazo changed the title ci: migrate off Node 20 runners; drop the dead profile-dispatch workflow security: harden CI supply chain and patch transitive CVEs Aug 30, 2026
@JadenRazo
JadenRazo merged commit 935b427 into main Aug 30, 2026
6 checks passed
@JadenRazo
JadenRazo deleted the ci/node20-runner-migration branch August 30, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant