CI / build (pull_request) Failing after 9s
Two advisories landed in this tree in a single day — js-yaml in the morning, nanoid a couple of hours later. Neither had anything to do with a code change. A release gated on `npm audit` fails by calendar date, and it fails at the exact moment there is least time to judge whether a fix is safe. What ships from here is built HTML, CSS and JS. Astro, js-yaml and nanoid are build-time tools that never reach a visitor; the advisories in question need control over build inputs to matter, and an attacker with that has already won. So the release gate drops to `critical` — a tripwire for the catastrophic case, not a trigger for routine noise. Nothing is lowered anywhere else: ci.yml still blocks every PR at moderate, which is where there is time and context to fix. The new scheduled audit is what makes that safe rather than negligent. Monday mornings on Gitea, filing an internal issue when something turns up, with a dedup check so a weekly cron cannot open 52 copies. Learning about a vulnerability and being unable to publish stop being the same event. `workflow_dispatch` is included so it can be run and verified on demand.