Skip to content

Commit f56fb14

Browse files
authored
chore: re-order and update dependabot config
* chore: re-order dependabot ecosystems to better match folder structure 1. "general"; `/` (`.github`, `.pre-commit-config`, `docker`) 2. `api/` 3. `docs/` 4. `web/` * chore: place schedule and cooldown last for all ecosystems * chore: add dependabot grouping for actions and pre-commit * chore: remove web group with a single dependency * chore: don't group api and docs into the same PR group currently a single PR updates both directories, which is not ideal as they are not related.
1 parent a10e4d6 commit f56fb14

1 file changed

Lines changed: 39 additions & 21 deletions

File tree

.github/dependabot.yml

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,86 @@
11
version: 2
2+
23
registries:
34
dhi-io:
45
type: docker-registry
56
url: https://dhi.io
67
username: ${{secrets.DHI_USERNAME}}
78
password: ${{secrets.DHI_PASSWORD}}
9+
810
updates:
9-
- package-ecosystem: "npm"
10-
directories:
11-
- "/web"
11+
- package-ecosystem: "github-actions"
12+
directory: "/"
13+
groups:
14+
actions:
15+
update-types:
16+
- "minor"
17+
- "patch"
1218
schedule:
1319
interval: "monthly" # when template is used, recommended interval is "weekly"
1420
cooldown:
1521
default-days: 7
22+
23+
- package-ecosystem: "pre-commit"
24+
directory: "/"
1625
groups:
17-
web:
18-
exclude-patterns:
19-
- "@hey-api/openapi-ts"
26+
pre-commit:
2027
update-types:
2128
- "minor"
2229
- "patch"
23-
openapi-ts:
24-
patterns:
25-
- "@hey-api/openapi-ts"
30+
schedule:
31+
interval: "monthly" # when template is used, recommended interval is "weekly"
32+
cooldown:
33+
default-days: 7
2634

2735
- package-ecosystem: "docker"
2836
directories:
29-
- "/web"
3037
- "/api"
38+
- "/web"
3139
registries:
3240
- dhi-io
41+
groups:
42+
dockerfile:
43+
update-types:
44+
- "minor"
45+
- "patch"
3346
schedule:
3447
interval: "monthly" # when template is used, recommended interval is "weekly"
3548
cooldown:
3649
default-days: 7
50+
51+
- package-ecosystem: "uv"
52+
directory: "/api"
3753
groups:
38-
dockerfile:
54+
api:
3955
update-types:
4056
- "minor"
4157
- "patch"
42-
43-
- package-ecosystem: "uv"
44-
directories:
45-
- "/docs"
46-
- "/api"
4758
schedule:
4859
interval: "monthly" # when template is used, recommended interval is "weekly"
4960
cooldown:
5061
default-days: 7
62+
63+
- package-ecosystem: "uv"
64+
directory: "/docs"
5165
groups:
5266
docs:
5367
update-types:
5468
- "minor"
5569
- "patch"
56-
57-
- package-ecosystem: "github-actions"
58-
directory: "/"
5970
schedule:
6071
interval: "monthly" # when template is used, recommended interval is "weekly"
6172
cooldown:
6273
default-days: 7
6374

64-
- package-ecosystem: "pre-commit"
65-
directory: "/"
75+
- package-ecosystem: "npm"
76+
directory: "/web"
77+
groups:
78+
web:
79+
update-types:
80+
- "minor"
81+
- "patch"
82+
exclude-patterns:
83+
- "@hey-api/openapi-ts"
6684
schedule:
6785
interval: "monthly" # when template is used, recommended interval is "weekly"
6886
cooldown:

0 commit comments

Comments
 (0)