ci: block pull requests only on critical advisories
CI / build (pull_request) Failing after 58s

Same gate as release.yml. audit.yml still files an issue for moderate and up, and the full audit report prints in CI.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-11-17 17:10:03 -06:00
1 parent 3914af3708
commit ccfb237ab9
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
# whether a fix is safe. What ships here is built HTML, CSS and JS: Astro, js-yaml
# and friends are build-time tools that never reach a visitor. `critical` keeps a
# tripwire for the catastrophic case without breaking releases on routine noise.
# Moderate and up still gate every PR in ci.yml, and audit.yml files an issue on a
# ci.yml gates every PR the same way, and audit.yml files an issue for moderate and up on a
# schedule, so advisories still surface — just not as a broken release.
- run: npm audit --audit-level=critical
- run: npm run check