|
1 | 1 | version: 2 |
2 | | -updates: # uses the default branch by default |
3 | | - - package-ecosystem: maven |
4 | | - directory: "/" |
| 2 | + |
| 3 | +multi-ecosystem-groups: |
| 4 | + main: |
5 | 5 | schedule: |
6 | | - interval: weekly |
| 6 | + interval: "weekly" |
7 | 7 | day: "monday" |
8 | 8 | time: "01:00" # Otherwise it picks a random time. |
9 | | - open-pull-requests-limit: 99 |
10 | 9 | commit-message: |
11 | 10 | prefix: "deps: " |
12 | | - labels: ["dependencies"] # Don't use any other labels. |
13 | | - groups: |
14 | | - # We want to control these upgrades separately. |
15 | | - # They've introduced changes in the past which required manual intervention. |
16 | | - quarkus: |
17 | | - patterns: |
18 | | - - "io.quarkus:*" |
19 | | - spring: |
20 | | - patterns: |
21 | | - - "org.springframework.boot:*" |
22 | | - - "org.springframework:*" |
23 | | - - "org.springdoc:*" |
24 | | - openrewrite: |
25 | | - patterns: |
26 | | - - "org.openrewrite.maven:*" |
27 | | - - "org.openrewrite.recipe:*" |
28 | | - # Everything else can be grouped together to minimize the number of PRs. |
29 | | - # If any dependency ever breaks our code, it will be ungrouped. |
30 | | - regular: |
31 | | - patterns: |
32 | | - - "*" |
33 | | - - package-ecosystem: "github-actions" |
34 | | - directory: "/" |
| 11 | + labels: ["dependencies"] |
| 12 | + 1x: |
35 | 13 | schedule: |
36 | | - interval: weekly |
37 | | - day: "monday" |
38 | | - time: "01:00" # Otherwise it picks a random time. |
39 | | - open-pull-requests-limit: 99 |
| 14 | + interval: "cron" |
| 15 | + cronjob: "0 1 * * 1#1" # First Monday of the month |
40 | 16 | commit-message: |
41 | 17 | prefix: "deps: " |
42 | | - labels: ["dependencies"] # Don't use any other labels. |
43 | | - groups: |
44 | | - # Everything can be grouped together to minimize the number of PRs. |
45 | | - # If any dependency ever breaks our code, it will be ungrouped. |
46 | | - regular: |
47 | | - patterns: |
48 | | - - "*" |
49 | | - - package-ecosystem: maven |
| 18 | + labels: ["dependencies"] |
| 19 | + |
| 20 | +updates: |
| 21 | + |
| 22 | + # Do everything in one PR, on main. |
| 23 | + - package-ecosystem: "maven" |
| 24 | + directory: "/" |
| 25 | + open-pull-requests-limit: 99 |
| 26 | + patterns: ["*"] |
| 27 | + multi-ecosystem-group: "main" |
| 28 | + - package-ecosystem: "github-actions" |
| 29 | + directory: "/" |
| 30 | + open-pull-requests-limit: 99 |
| 31 | + patterns: ["*"] |
| 32 | + multi-ecosystem-group: "main" |
| 33 | + |
| 34 | + # Do everything in one PR, on 1.x. |
| 35 | + - package-ecosystem: "maven" |
50 | 36 | target-branch: "1.x" |
51 | 37 | directory: "/" |
52 | | - schedule: |
53 | | - interval: "cron" |
54 | | - cronjob: "0 1 * * 1#1" # First Monday of the month |
55 | 38 | open-pull-requests-limit: 99 |
56 | | - commit-message: |
57 | | - prefix: "deps: " |
58 | | - labels: ["dependencies"] # Don't use any other labels. |
59 | 39 | ignore: |
60 | 40 | - dependency-name: "*" |
61 | | - update-types: ["version-update:semver-major", "version-update:semver-minor"] |
62 | | - groups: |
63 | | - # Everything else can be grouped together to minimize the number of PRs. |
64 | | - # If any dependency ever breaks our code, it will be ungrouped. |
65 | | - regular: |
66 | | - update-types: |
67 | | - - "patch" |
68 | | - patterns: |
69 | | - - "*" |
70 | | - |
| 41 | + update-types: [ "version-update:semver-major" ] |
| 42 | + patterns: ["*"] |
| 43 | + multi-ecosystem-group: "1x" |
71 | 44 | - package-ecosystem: "github-actions" |
72 | 45 | target-branch: "1.x" |
73 | 46 | directory: "/" |
74 | | - schedule: |
75 | | - interval: "cron" |
76 | | - cronjob: "0 1 * * 1#1" # First Monday of the month |
77 | 47 | open-pull-requests-limit: 99 |
78 | | - commit-message: |
79 | | - prefix: "deps: " |
80 | | - labels: ["dependencies"] # Don't use any other labels. |
81 | | - groups: |
82 | | - # Everything can be grouped together to minimize the number of PRs. |
83 | | - # If any dependency ever breaks our code, it will be ungrouped. |
84 | | - regular: |
85 | | - patterns: |
86 | | - - "*" |
| 48 | + patterns: ["*"] |
| 49 | + multi-ecosystem-group: "1x" |
0 commit comments