Skip to content

Commit 6f6205f

Browse files
Configure Dependabot for multi-branch (#15894)
- Add target-branch entries for 0.74, 0.81, 0.82, 0.83, and main. - Group all minor/patch dependencies into a single PR per branch.
1 parent 902a578 commit 6f6205f

1 file changed

Lines changed: 79 additions & 11 deletions

File tree

.github/dependabot.yml

Lines changed: 79 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,101 @@
11
version: 2
22
updates:
3+
# main branch
34
- package-ecosystem: npm
45
directory: "/"
6+
target-branch: "main"
57
groups:
6-
babel:
8+
all-dependencies:
79
patterns:
8-
- '@babel*'
10+
- '*'
11+
update-types:
12+
- 'minor'
13+
- 'patch'
14+
schedule:
15+
interval: daily
16+
time: "05:00"
17+
timezone: "America/Los_Angeles"
18+
labels:
19+
- dependencies
20+
versioning-strategy: lockfile-only
21+
commit-message:
22+
prefix: 📦
23+
open-pull-requests-limit: 5
24+
25+
# 0.74 branch
26+
- package-ecosystem: npm
27+
directory: "/"
28+
target-branch: "0.74-stable"
29+
groups:
30+
all-dependencies:
31+
patterns:
32+
- '*'
933
update-types:
1034
- 'minor'
1135
- 'patch'
12-
jest:
36+
schedule:
37+
interval: daily
38+
time: "05:00"
39+
timezone: "America/Los_Angeles"
40+
labels:
41+
- dependencies
42+
versioning-strategy: lockfile-only
43+
commit-message:
44+
prefix: 📦
45+
open-pull-requests-limit: 5
46+
47+
# 0.81 branch
48+
- package-ecosystem: npm
49+
directory: "/"
50+
target-branch: "0.81-stable"
51+
groups:
52+
all-dependencies:
1353
patterns:
14-
- '@jest*'
54+
- '*'
1555
update-types:
1656
- 'minor'
1757
- 'patch'
18-
rnx-kit:
58+
schedule:
59+
interval: daily
60+
time: "05:00"
61+
timezone: "America/Los_Angeles"
62+
labels:
63+
- dependencies
64+
versioning-strategy: lockfile-only
65+
commit-message:
66+
prefix: 📦
67+
open-pull-requests-limit: 5
68+
69+
# 0.82 branch
70+
- package-ecosystem: npm
71+
directory: "/"
72+
target-branch: "0.82-stable"
73+
groups:
74+
all-dependencies:
1975
patterns:
20-
- '@rnx-kit*'
76+
- '*'
2177
update-types:
2278
- 'minor'
2379
- 'patch'
24-
other-dependencies:
80+
schedule:
81+
interval: daily
82+
time: "05:00"
83+
timezone: "America/Los_Angeles"
84+
labels:
85+
- dependencies
86+
versioning-strategy: lockfile-only
87+
commit-message:
88+
prefix: 📦
89+
open-pull-requests-limit: 5
90+
91+
# 0.83 branch
92+
- package-ecosystem: npm
93+
directory: "/"
94+
target-branch: "0.83-stable"
95+
groups:
96+
all-dependencies:
2597
patterns:
2698
- '*'
27-
exclude-patterns:
28-
- '@babel*'
29-
- '@jest*'
30-
- '@rnx-kit*'
3199
update-types:
32100
- 'minor'
33101
- 'patch'

0 commit comments

Comments
 (0)