Skip to content

Commit 0313033

Browse files
committed
chore: group Dependabot updates per ecosystem
Add a Dependabot config covering npm, docker, github-actions, grouping both version and security updates so each ecosystem gets at most one PR per run. Assisted-by: anthropic:claude-fable-5 Signed-off-by: Ry Jones <ry@linux.com>
1 parent b6a212d commit 0313033

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Dependabot configuration
2+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
#
4+
# Ecosystems in this repo:
5+
# - npm: root package.json
6+
# - docker: root Dockerfile
7+
# - github-actions: .github/workflows
8+
#
9+
# Each ecosystem groups ALL of its updates into a single PR per run. Both regular
10+
# version updates and security fixes are grouped, so Dependabot opens at most one
11+
# PR per ecosystem per directory (security updates are otherwise opened
12+
# individually and ungrouped by default).
13+
14+
version: 2
15+
16+
updates:
17+
- package-ecosystem: npm
18+
directory: "/"
19+
schedule:
20+
interval: weekly
21+
open-pull-requests-limit: 1
22+
groups:
23+
npm:
24+
applies-to: version-updates
25+
patterns: ["*"]
26+
npm-security:
27+
applies-to: security-updates
28+
patterns: ["*"]
29+
30+
- package-ecosystem: docker
31+
directory: "/"
32+
schedule:
33+
interval: weekly
34+
open-pull-requests-limit: 1
35+
groups:
36+
docker:
37+
applies-to: version-updates
38+
patterns: ["*"]
39+
docker-security:
40+
applies-to: security-updates
41+
patterns: ["*"]
42+
43+
- package-ecosystem: github-actions
44+
directory: "/"
45+
schedule:
46+
interval: weekly
47+
open-pull-requests-limit: 1
48+
groups:
49+
github-actions:
50+
applies-to: version-updates
51+
patterns: ["*"]
52+
github-actions-security:
53+
applies-to: security-updates
54+
patterns: ["*"]

0 commit comments

Comments
 (0)