Skip to content

ci: make npm audit blocking + add Dependabot - #26

Open
jhamon wants to merge 1 commit into
mainfrom
chore/blocking-npm-audit-dependabot
Open

ci: make npm audit blocking + add Dependabot#26
jhamon wants to merge 1 commit into
mainfrom
chore/blocking-npm-audit-dependabot

Conversation

@jhamon

@jhamon jhamon commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

What

  • Makes the npm audit gate blocking — the audit job was continue-on-error: true. Now it fails on high/critical JS vulnerabilities (npm audit --audit-level=high is currently clean).
  • Adds .github/dependabot.yml — npm + pip + github-actions (grouped).

The existing Node build/lint (22/24 matrix) and Python compile jobs are unchanged.

Note on the Python side

pip-audit flags several starlette (0.48.0) advisories that only resolve via a FastAPI-coordinated major bump (starlette 1.x). Forcing a blocking pip-audit gate would wedge every PR on that major, so I left it out — the new pip Dependabot config will surface those bumps for deliberate review instead.

Verification (local)

  • npm audit --audit-level=high → 0 ✅

🤖 Generated with Claude Code


Note

Low Risk
Changes only CI and dependency automation; no application runtime or auth/data paths are modified.

Overview
Tightens JS supply-chain checks in CI by removing continue-on-error from the audit job and renaming it to reflect that npm audit --audit-level=high is now a hard gate (high/critical findings block merges).

Adds .github/dependabot.yml with weekly updates for npm, pip, and github-actions, grouping minor/patch bumps and capping open PRs (10 for npm/pip, 5 for actions). Python dependency scanning is not made blocking in CI; pip updates are left to Dependabot for deliberate review (e.g. Starlette/FastAPI major bumps).

Reviewed by Cursor Bugbot for commit 141579f. Bugbot is set up for automated code reviews on this repo. Configure here.

- Make the npm audit job blocking (remove continue-on-error) so PRs fail on
  high/critical JS vulnerabilities. npm audit --audit-level=high is currently clean.
- Add .github/dependabot.yml for npm + pip + github-actions (grouped).

The Python side has starlette advisories that only resolve via a FastAPI-
coordinated major bump (starlette 1.x); those are left for Dependabot to surface
rather than forcing a blocking pip-audit gate that would wedge every PR.
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