Skip to content

Commit 60dc6f0

Browse files
albertotbclaude
andauthored
Dependabot: group PRs; security-only for app dependencies (#18)
Grouping collapses each ecosystem's updates into a single PR instead of one per package. `applies-to` matters: a group covers version updates unless told otherwise, so the security-only ecosystems spell it out. npm and uv are security-only via open-pull-requests-limit: 0, which switches off routine version-bump PRs while security updates — exempt from that limit — keep coming. That stops repeats of the setuptools constraint bumps that had to be fixed upstream anyway. GitHub Actions keeps its routine bumps: advisories for actions are rare, so making it security-only would effectively freeze action versions. Claude-Session: https://claude.ai/code/session_011texLkDBELWbXsBf6San3M Co-authored-by: Claude <noreply@anthropic.com>
1 parent aeecbbc commit 60dc6f0

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,30 @@
11
version: 2
2+
# Grouping keeps each ecosystem's updates to a single PR instead of one per
3+
# package. Note `applies-to`: a group covers version updates unless told
4+
# otherwise, so security-only ecosystems need it spelled out.
25
updates:
6+
# Actions keep their routine bumps — advisories for them are rare, so waiting
7+
# for one would freeze the versions.
38
- package-ecosystem: github-actions
49
directory: /
510
schedule:
611
interval: weekly
12+
groups:
13+
actions:
14+
patterns: ["*"]
715

16+
# Application dependencies: security updates only. `open-pull-requests-limit: 0`
17+
# switches off routine version-bump PRs; security updates ignore that limit and
18+
# keep coming.
819
- package-ecosystem: npm
920
directory: /frontend
1021
schedule:
1122
interval: weekly
23+
open-pull-requests-limit: 0
24+
groups:
25+
frontend-security:
26+
applies-to: security-updates
27+
patterns: ["*"]
1228

1329
# The backend package lives in a subdirectory, so it needs its own entry
1430
# (`uv.lock` there is already picked up by the dependency graph, but an entry
@@ -17,3 +33,8 @@ updates:
1733
directory: /backend
1834
schedule:
1935
interval: weekly
36+
open-pull-requests-limit: 0
37+
groups:
38+
backend-security:
39+
applies-to: security-updates
40+
patterns: ["*"]

0 commit comments

Comments
 (0)