Skip to content

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

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]>
@Ardnived
Ardnived merged commit 05a8fd3 into main Oct 10, 2026
11 of 12 checks passed
@Ardnived
Ardnived deleted the claude/ci-dependency-review branch October 10, 2026 01:57
@sydevs-bot sydevs-bot moved this from Revising to Done in SYDevelopers Technical Roadmap Oct 10, 2026
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