Skip to content

ci: fail on high/critical dependency vulnerabilities#31

Open
ckeshava wants to merge 2 commits into
masterfrom
ci-dependency-audit-gate
Open

ci: fail on high/critical dependency vulnerabilities#31
ckeshava wants to merge 2 commits into
masterfrom
ci-dependency-audit-gate

Conversation

@ckeshava

@ckeshava ckeshava commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Adds a dedicated Dependency audit workflow that runs npm audit --omit=dev --audit-level=high, failing CI on any high/critical advisory in production (non-dev) dependencies. Triggers on PRs, pushes to master, manual dispatch, and a weekly cron.

Scoped to --omit=dev so dev-only tooling (e.g. the lerna chain) doesn't gate the build. A non-breaking npm audit fix clears the remaining production-scope highs (flatted/minimatch/picomatch via the eslint plugins); no package.json/lerna changes, no overrides.

🤖 Generated with Claude Code

ckeshava and others added 2 commits June 18, 2026 14:57
Add a Dependency audit workflow that runs npm audit with
--omit=dev --audit-level=high, failing CI on any high/critical
advisory in production (non-dev) dependencies. Triggers on PRs,
pushes to master, manual dispatch, and a weekly cron.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Non-breaking lockfile updates (no package.json/lerna changes) that
patch the remaining high-severity advisories in production deps
(flatted, minimatch, picomatch via the eslint plugins).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ckeshava ckeshava force-pushed the ci-dependency-audit-gate branch from b11e897 to 494e768 Compare June 18, 2026 21:57
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