Skip to content

Commit 282f1d2

Browse files
authored
Merge pull request #1602 from alphagov/configure-dependabot
[PP-7685] Update Dependabot configuration
2 parents c4465b0 + 0d4c743 commit 282f1d2

File tree

1 file changed

+42
-5
lines changed

1 file changed

+42
-5
lines changed

.github/dependabot.yml

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,54 @@ updates:
33
- package-ecosystem: bundler
44
directory: /
55
schedule:
6-
interval: daily
6+
interval: weekly
7+
day: tuesday
8+
time: "07:00"
9+
allow:
10+
- dependency-type: direct
711
ignore:
812
- dependency-name: pact
913
versions: [ ">=2.0.0" ]
14+
cooldown:
15+
default-days: 3
16+
open-pull-requests-limit: 25
17+
groups:
18+
test:
19+
patterns:
20+
- "*rspec"
21+
- "climate_control"
22+
- "database_cleaner-*"
23+
- "factory_bot*"
24+
- "govuk_test"
25+
- "pact"
26+
- "rspec-*"
27+
- "simplecov"
28+
- "timecop"
29+
- "webmock"
30+
31+
- package-ecosystem: github-actions
32+
directory: /
33+
schedule:
34+
interval: weekly
35+
day: tuesday
36+
time: "07:00"
37+
cooldown:
38+
default-days: 3
39+
open-pull-requests-limit: 25
40+
41+
# Ruby needs to be upgraded manually in multiple places, so cannot
42+
# be upgraded by Dependabot. That effectively makes the below
43+
# config redundant, as ruby is the only updatable thing in the
44+
# Dockerfile, although this may change in the future. We hope this
45+
# config will save a dev from trying to upgrade ruby via Dependabot.
1046
- package-ecosystem: docker
1147
directory: /
1248
schedule:
1349
interval: weekly
50+
day: tuesday
51+
time: "07:00"
1452
ignore:
1553
- dependency-name: ruby
16-
- package-ecosystem: github-actions
17-
directory: /
18-
schedule:
19-
interval: daily
54+
cooldown:
55+
default-days: 7
56+
open-pull-requests-limit: 25

0 commit comments

Comments
 (0)