Skip to content

Commit 9258d68

Browse files
authored
Merge pull request #126 from rsksmart/dependabot-update
Update dependabot workflow to group PRs
2 parents 056754e + eba64bd commit 9258d68

File tree

1 file changed

+56
-11
lines changed

1 file changed

+56
-11
lines changed

.github/dependabot.yml

Lines changed: 56 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,76 @@ version: 2
22
updates:
33
- package-ecosystem: github-actions
44
directory: "/"
5+
target-branch: master
56
schedule:
67
interval: "weekly"
7-
ignore:
8-
- dependency-name: "*"
9-
update-types: ["version-update:semver-patch"]
8+
# Wait at least 10 days after a new version is released before opening a PR
9+
cooldown:
10+
default-days: 10
11+
labels:
12+
- "dependencies"
13+
- "github_actions"
14+
# one PR per week that groups BOTH minor + patch updates
1015
groups:
11-
actions-minor:
16+
actions-updates:
1217
applies-to: version-updates
1318
patterns:
1419
- "*"
1520
update-types:
16-
- "minor"
21+
- minor
22+
- patch
23+
- package-ecosystem: github-actions
24+
directory: "/"
25+
schedule:
26+
interval: "daily"
27+
# Wait at least 1 day after a security update is released before opening a PR
28+
cooldown:
29+
default-days: 1
30+
labels:
31+
- "dependencies"
32+
- "github_actions"
33+
- "security"
34+
# one PR per day that groups security updates
35+
groups:
36+
security:
37+
applies-to: security-updates
38+
patterns:
39+
- "*"
1740

1841
- package-ecosystem: npm
1942
directory: "/"
43+
target-branch: master
2044
schedule:
2145
interval: "weekly"
22-
versioning-strategy: increase
23-
ignore:
24-
- dependency-name: "*"
25-
update-types: ["version-update:semver-patch"]
46+
# Wait at least 10 days after a new version is released before opening a PR
47+
cooldown:
48+
default-days: 10
49+
labels:
50+
- "dependencies"
51+
- "npm"
52+
# one PR per week that groups BOTH minor + patch updates
2653
groups:
27-
npm-minor:
54+
actions-updates:
2855
applies-to: version-updates
2956
patterns:
3057
- "*"
3158
update-types:
32-
- "minor"
59+
- minor
60+
- patch
61+
- package-ecosystem: npm
62+
directory: "/"
63+
schedule:
64+
interval: "daily"
65+
# Wait at least 1 day after a security update is released before opening a PR
66+
cooldown:
67+
default-days: 1
68+
labels:
69+
- "dependencies"
70+
- "npm"
71+
- "security"
72+
# one PR per day that groups security updates
73+
groups:
74+
security:
75+
applies-to: security-updates
76+
patterns:
77+
- "*"

0 commit comments

Comments
 (0)