mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-05 00:28:51 +01:00
Adds .github/workflows/audit.yml — runs `npm audit --audit-level=high`
every day at 07:13 UTC plus on-demand via the Actions tab. Fails when
a HIGH or CRITICAL severity vulnerability enters the dep graph.
The off-the-hour minute (13 vs 0) spreads fleet load. Moderate vulns
are intentionally not the trigger — the chronic transitive-noise from
esbuild-via-drizzle-kit and postcss-via-next would flap the workflow
constantly without giving us actionable signal.
A failing run is the cue to either run `npm audit fix` (if non-breaking)
or evaluate the breaking-fix path. Verified: workflow YAML parses,
`npm audit --audit-level=high` currently exits 0 since b53421d patched
the Next.js DoS.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>