Skip to content

ci(quality): --omit=dev on SBOM npm audit - #112

Merged
rubenvdlinde merged 3 commits into
mainfrom
fix/sbom-npm-audit-omit-dev
Jul 26, 2026
Merged

ci(quality): --omit=dev on SBOM npm audit#112
rubenvdlinde merged 3 commits into
mainfrom
fix/sbom-npm-audit-omit-dev

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

The SBOM job's npm audit --audit-level=critical gated on dev-only build-tool criticals (tar via node-gyp/cacache) that never ship. Match the Security (npm) job's --omit=dev so both gate on production criticals only. Mirrors Codeberg Conduction/.github#72. Fixes OpenRegister's Code Quality SBOM/npm-audit red.

rubenvdlinde and others added 3 commits July 25, 2026 12:07
The SBOM job ran 'npm audit --audit-level=critical' WITHOUT --omit=dev, so it
gated on dev-only build-tooling criticals (e.g. tar via node-gyp/cacache) that
never ship in the app bundle — it had been red on those regardless. The
dedicated 'Security (npm)' job already uses --audit-level=critical --omit=dev;
make the SBOM job consistent so both gate only on production-dependency
criticals.
@rubenvdlinde
rubenvdlinde merged commit 274ff73 into main Jul 26, 2026
3 checks passed
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