Skip to content

ci(root): fix osv-scanner severity flag and continue on error#9311

Merged
roshan-bitgo merged 1 commit into
masterfrom
fix-osv-scanner-severity-flag
Jul 21, 2026
Merged

ci(root): fix osv-scanner severity flag and continue on error#9311
roshan-bitgo merged 1 commit into
masterfrom
fix-osv-scanner-severity-flag

Conversation

@roshan-bitgo

Copy link
Copy Markdown
Contributor

Problem

The "Audit Dependencies" step in publish.yml and npmjs-release.yml fails with exit 127 because osv-scanner v2.3.8 no longer supports the --severity=HIGH / --severity=CRITICAL flag that was being passed as scan-args.

Failing run: https://github.com/BitGo/BitGoJS/actions/runs/29828802882/job/88628278879

Fix

  • Removed the invalid --severity scan-args from the Audit Dependencies step in both workflows.
  • Added continue-on-error: true to that step (explicit request) so releases are never blocked by audit failures while the audit setup is iterated on.

Related prior fix attempt: #9310

TICKET: VL-7134

osv-scanner v2.3.8 does not support the --severity flag, causing
Audit Dependencies to fail with exit 127 (flag provided but not
defined: -severity). Remove --severity=HIGH/CRITICAL from scan-args
in publish.yml and npmjs-release.yml. Also add continue-on-error
so future audit failures never block a release while the osv-scanner
setup is iterated on.

TICKET: VL-7134
@roshan-bitgo
roshan-bitgo requested review from a team as code owners July 21, 2026 12:39
@roshan-bitgo
roshan-bitgo merged commit e759bf0 into master Jul 21, 2026
23 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.

2 participants