Skip to content

Commit fd6a643

Browse files
authored
Refactor dependabot.yml for multi-ecosystem support
1 parent 8d2bc53 commit fd6a643

1 file changed

Lines changed: 43 additions & 52 deletions

File tree

.github/dependabot.yml

Lines changed: 43 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,63 +8,54 @@
88
# - Grouping updates by ecosystem with specific patterns for version updates.
99

1010
version: 2
11+
enable-beta-ecosystems: true
12+
13+
multi-ecosystem-groups:
14+
dependabot-all:
15+
schedule:
16+
interval: "monthly"
17+
1118
updates:
12-
- package-ecosystem: github-actions
13-
directory: /
14-
schedule:
15-
interval: monthly
16-
allow:
17-
# Allow both direct and indirect updates for all packages
18-
- dependency-type: "all"
19-
labels:
20-
- "github-actions"
21-
groups:
22-
github-actions:
23-
applies-to: version-updates
24-
patterns:
19+
- package-ecosystem: github-actions
20+
directory: /
21+
allow:
22+
# Allow both direct and indirect updates for all packages
23+
- dependency-type: "all"
24+
labels:
25+
- "github-actions"
26+
multi-ecosystem-group: dependabot-all
27+
patterns:
2528
- "*"
2629

27-
- package-ecosystem: bundler
28-
directory: /
29-
schedule:
30-
interval: monthly
31-
allow:
32-
# Allow both direct and indirect updates for all packages
33-
- dependency-type: "all"
34-
labels:
35-
- "bundler"
36-
groups:
37-
bundler:
38-
applies-to: version-updates
39-
patterns:
30+
- package-ecosystem: bundler
31+
directory: /
32+
allow:
33+
# Allow both direct and indirect updates for all packages
34+
- dependency-type: "all"
35+
labels:
36+
- "bundler"
37+
multi-ecosystem-group: dependabot-all
38+
patterns:
4039
- "*"
4140

42-
- package-ecosystem: npm
43-
directory: /
44-
schedule:
45-
interval: monthly
46-
allow:
47-
# Allow both direct and indirect updates for all packages
48-
- dependency-type: "all"
49-
labels:
50-
- "npm"
51-
groups:
52-
npm:
53-
applies-to: version-updates
54-
patterns:
41+
- package-ecosystem: npm
42+
directory: /
43+
allow:
44+
# Allow both direct and indirect updates for all packages
45+
- dependency-type: "all"
46+
labels:
47+
- "npm"
48+
multi-ecosystem-group: dependabot-all
49+
patterns:
5550
- "*"
5651

57-
- package-ecosystem: pip
58-
directory: /
59-
schedule:
60-
interval: monthly
61-
allow:
62-
# Allow both direct and indirect updates for all packages
63-
- dependency-type: "all"
64-
labels:
65-
- "pip"
66-
groups:
67-
pip:
68-
applies-to: version-updates
69-
patterns:
52+
- package-ecosystem: pip
53+
directory: /
54+
allow:
55+
# Allow both direct and indirect updates for all packages
56+
- dependency-type: "all"
57+
labels:
58+
- "pip"
59+
multi-ecosystem-group: dependabot-all
60+
patterns:
7061
- "*"

0 commit comments

Comments
 (0)