File tree Expand file tree Collapse file tree 2 files changed +23
-58
lines changed Expand file tree Collapse file tree 2 files changed +23
-58
lines changed Original file line number Diff line number Diff line change 2
2
# organisation so intentionally contains a superset of all required attributes.
3
3
version : 2
4
4
5
- updates :
6
- - package-ecosystem : github-actions
7
- directory : /
5
+ multi-ecosystem-groups :
6
+ all :
8
7
schedule :
9
8
interval : weekly
10
9
day : " monday"
11
10
time : " 08:00"
12
11
timezone : " Etc/UTC"
12
+
13
+ updates :
14
+ - package-ecosystem : github-actions
15
+ directory : /
16
+ multi-ecosystem-group : " all"
17
+ patterns : ["*"]
13
18
allow :
14
19
- dependency-type : all
15
- groups :
16
- dependabot :
17
- patterns :
18
- - " *"
19
20
cooldown :
20
21
default-days : 1
21
22
include :
@@ -25,17 +26,10 @@ updates:
25
26
directories :
26
27
- /
27
28
- /Library/Homebrew
28
- schedule :
29
- interval : weekly
30
- day : " monday"
31
- time : " 08:00"
32
- timezone : " Etc/UTC"
29
+ multi-ecosystem-group : " all"
30
+ patterns : ["*"]
33
31
allow :
34
32
- dependency-type : all
35
- groups :
36
- dependabot :
37
- patterns :
38
- - " *"
39
33
cooldown :
40
34
default-days : 1
41
35
semver-major-days : 14
@@ -46,17 +40,10 @@ updates:
46
40
47
41
- package-ecosystem : npm
48
42
directory : /
49
- schedule :
50
- interval : weekly
51
- day : " monday"
52
- time : " 08:00"
53
- timezone : " Etc/UTC"
43
+ multi-ecosystem-group : " all"
44
+ patterns : ["*"]
54
45
allow :
55
46
- dependency-type : all
56
- groups :
57
- dependabot :
58
- patterns :
59
- - " *"
60
47
cooldown :
61
48
default-days : 1
62
49
semver-major-days : 14
@@ -67,31 +54,17 @@ updates:
67
54
68
55
- package-ecosystem : docker
69
56
directory : /
70
- schedule :
71
- interval : weekly
72
- day : " monday"
73
- time : " 08:00"
74
- timezone : " Etc/UTC"
57
+ multi-ecosystem-group : " all"
58
+ patterns : ["*"]
75
59
allow :
76
60
- dependency-type : all
77
- groups :
78
- dependabot :
79
- patterns :
80
- - " *"
81
61
82
62
- package-ecosystem : devcontainers
83
63
directory : /
84
- schedule :
85
- interval : weekly
86
- day : " monday"
87
- time : " 08:00"
88
- timezone : " Etc/UTC"
64
+ multi-ecosystem-group : " all"
65
+ patterns : ["*"]
89
66
allow :
90
67
- dependency-type : all
91
- groups :
92
- dependabot :
93
- patterns :
94
- - " *"
95
68
cooldown :
96
69
default-days : 1
97
70
include :
@@ -101,17 +74,10 @@ updates:
101
74
directories :
102
75
- /
103
76
- /Library/Homebrew/formula-analytics/
104
- schedule :
105
- interval : weekly
106
- day : " monday"
107
- time : " 08:00"
108
- timezone : " Etc/UTC"
77
+ multi-ecosystem-group : " all"
78
+ patterns : ["*"]
109
79
allow :
110
80
- dependency-type : all
111
- groups :
112
- dependabot :
113
- patterns :
114
- - " *"
115
81
cooldown :
116
82
default-days : 1
117
83
semver-major-days : 14
Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ def git(*args)
64
64
65
65
target_gemfile_locks = [ ]
66
66
dependabot_config_yaml = YAML . load_file ( dependabot_template_yaml )
67
+ # This should be run after dependabot.yml for this repository (Monday)
68
+ # and after the sync-shared-config job for synced repositories (Wednesday).
69
+ # This maximises the chance of a single sync per week handling both any
70
+ # changes and any dependabot updates.
71
+ dependabot_config_yaml [ "multi-ecosystem-groups" ] [ "all" ] [ "schedule" ] [ "day" ] = "friday"
67
72
dependabot_config_yaml [ "updates" ] = dependabot_config_yaml [ "updates" ] . filter_map do |update |
68
73
bundler_ecosystem = false
69
74
ecosystem_file = case update [ "package-ecosystem" ]
@@ -98,12 +103,6 @@ def git(*args)
98
103
end
99
104
next unless keep_update
100
105
101
- # This should be run after dependabot.yml for this repository (Monday)
102
- # and after the sync-shared-config job for synced repositories (Wednesday).
103
- # This maximises the chance of a single sync per week handling both any
104
- # changes and any dependabot updates.
105
- update [ "schedule" ] [ "day" ] = "friday"
106
-
107
106
update
108
107
end
109
108
dependabot_config = dependabot_config_yaml . to_yaml
You can’t perform that action at this time.
0 commit comments