-
Notifications
You must be signed in to change notification settings - Fork 4
ci(security): add Dependabot groups for batched alert processing #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,29 @@ updates: | |
| labels: | ||
| - "dependencies" | ||
| - "npm" | ||
| # Groups: batch alert waves so a solo operator can absorb them. | ||
| # Without grouping, a typical Monday wave is ~15-20 individual PRs per repo; | ||
| # grouped it's 3-5. Production patch/minor split keeps risk-tiers separate. | ||
| # Dev deps batched freely (no runtime exposure). Security updates split by | ||
| # severity so a critical CVE never gets bundled with a minor upgrade. | ||
| groups: | ||
| npm-patch-prod: | ||
| applies-to: version-updates | ||
| update-types: ["patch"] | ||
| dependency-type: "production" | ||
| npm-minor-prod: | ||
| applies-to: version-updates | ||
| update-types: ["minor"] | ||
| dependency-type: "production" | ||
| npm-dev-deps: | ||
| applies-to: version-updates | ||
| dependency-type: "development" | ||
| npm-security-patch: | ||
| applies-to: security-updates | ||
| update-types: ["patch"] | ||
| npm-security-minor: | ||
| applies-to: security-updates | ||
| update-types: ["minor"] | ||
|
Comment on lines
+49
to
+54
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These security groups do not specify a npm-security-patch:
applies-to: security-updates
update-types: ["patch"]
dependency-type: "production"
npm-security-minor:
applies-to: security-updates
update-types: ["minor"]
dependency-type: "production" |
||
|
|
||
| # ---------- GitHub Actions ecosystem ---------- | ||
| - package-ecosystem: "github-actions" | ||
|
|
@@ -69,3 +92,21 @@ updates: | |
| labels: | ||
| - "dependencies" | ||
| - "python" | ||
| # Groups: parallel batching to the npm block above. uv does not expose | ||
| # the `dependency-type: production|development` axis the same way npm | ||
| # does (uv uses dependency-groups in pyproject.toml), so groups are | ||
| # split by update-types alone. Security updates split by severity to | ||
| # keep critical CVEs unbundled. | ||
|
Comment on lines
+98
to
+99
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the npm section, the comment claims to split by severity, but the implementation uses # split by update-types alone. Security updates split by update-types to
# keep PR volume manageable while isolating major updates. |
||
| groups: | ||
| uv-patch: | ||
| applies-to: version-updates | ||
| update-types: ["patch"] | ||
| uv-minor: | ||
| applies-to: version-updates | ||
| update-types: ["minor"] | ||
| uv-security-patch: | ||
| applies-to: security-updates | ||
| update-types: ["patch"] | ||
| uv-security-minor: | ||
| applies-to: security-updates | ||
| update-types: ["minor"] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment states that security updates are split by severity, but the configuration actually filters by
update-types(patch vs. minor). Dependabot groups do not natively support aseverityfilter. A critical vulnerability and a low-severity vulnerability will be bundled together if they both result in the same update type (e.g., both are patches). The current configuration effectively isolates major updates by not including them in any group.