Skip to content

Fix security-scan workflow: replace deprecated --production with --om…#459

Merged
aurelianware merged 2 commits intomainfrom
claude/fix-mobile-logo-display-ptjW0
Mar 13, 2026
Merged

Fix security-scan workflow: replace deprecated --production with --om…#459
aurelianware merged 2 commits intomainfrom
claude/fix-mobile-logo-display-ptjW0

Conversation

@aurelianware
Copy link
Owner

…it=dev

The npm audit step failed because:

  1. --production flag is deprecated (use --omit=dev)
  2. The --json audit command had no --audit-level filter and no || true, causing bash -e to abort on any vulnerability finding

https://claude.ai/code/session_01BvXfdVTKeUyN8PzhqspDVN

…it=dev

The npm audit step failed because:
1. --production flag is deprecated (use --omit=dev)
2. The --json audit command had no --audit-level filter and no || true,
   causing bash -e to abort on any vulnerability finding

https://claude.ai/code/session_01BvXfdVTKeUyN8PzhqspDVN
Copilot AI review requested due to automatic review settings March 13, 2026 23:19
@aurelianware aurelianware merged commit c50766f into main Mar 13, 2026
25 checks passed
@aurelianware aurelianware deleted the claude/fix-mobile-logo-display-ptjW0 branch March 13, 2026 23:19
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions security scan workflow to adjust how npm audit is run (switching from --production to --omit=dev) and to persist audit output as an artifact.

Changes:

  • Replace npm audit --production usage with npm audit --omit=dev in the Node dependency scan steps.
  • Attempt to generate and upload a JSON npm audit report artifact.

Comment on lines +39 to +40
npm audit --omit=dev --audit-level=moderate
npm audit --omit=dev --audit-level=moderate --json > npm-audit.json || true
Comment on lines 44 to 45
if [ -d "services/claims-scrubbing-service" ]; then
cd services/claims-scrubbing-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants