Skip to content

ci(deps): fail a PR that adds a vulnerable dependency - #911

Merged
Ardnived merged 1 commit into
mainfrom
claude/ci-dependency-review
Oct 10, 2026
Merged

Ardnived merged 1 commit into
mainfrom
claude/ci-dependency-review

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Adds the shared Dependency Review job from sydevs/claude-workflow (sydevs/claude-workflow#171) to CI.

What it does: compares only the dependencies this PR changes, and fails on a high or critical advisory that reaches production code. It runs in the merge queue too, and passes at once on any other event.

Failure it prevents: a PR adding a vulnerable dependency merging unnoticed, without the opposite failure of a full-lockfile audit. That one failed four unrelated SahajAtlasWeb PRs at once when an advisory landed on main (sydevs/SahajAtlasWeb#233). Advisories already on main are now the loop's daily Dependabot check's to fix.

Ruleset: Dependency Review / review becomes a required check once this merges.

🤖 Generated with Claude Code

Adds the shared Dependency Review job from sydevs/claude-workflow. It
compares only the dependencies this PR changes, and fails on a high or
critical advisory that reaches production code. An advisory already on
main never blocks a PR here: the loop's daily Dependabot check fires
audit-deps to fix it. SahajAtlasWeb's full-lockfile audit failed four
unrelated PRs at once that way (sydevs/SahajAtlasWeb#233).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app

railway-app Bot commented Oct 10, 2026

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-911 environment in sahajcloud

Service Status Web Updated
SahajCloud 🕒 Building (View Logs) Web Oct 10, 2026 at 1:52 am UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-911 October 10, 2026 01:52 Destroyed
@Ardnived
Ardnived merged commit 2c15933 into main Oct 10, 2026
8 of 9 checks passed
@Ardnived
Ardnived deleted the claude/ci-dependency-review branch October 10, 2026 01:57

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-911 — fc6d2e48 Deployed Oct 10, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant