Skip to content

Commit c7af4c6

Browse files
committed
Configure Dependabot to monitor both main and v2.3 branches with appropriate version constraints
1 parent 44b67ad commit c7af4c6

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.github/dependabot.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,64 @@
11
version: 2
22
updates:
3+
# Monitor main branch for development dependencies (allows 3.x upgrades)
34
- package-ecosystem: "cargo"
45
directory: "/"
56
schedule:
67
interval: "daily"
8+
# Main branch can accept all updates including major versions
9+
groups:
10+
agave-updates:
11+
patterns:
12+
- "agave-*"
13+
solana-updates:
14+
patterns:
15+
- "solana-*"
16+
other-updates:
17+
patterns:
18+
- "*"
19+
exclude-patterns:
20+
- "agave-*"
21+
- "solana-*"
22+
23+
# Monitor v2.3 branch for production dependencies (restricts to 2.x)
24+
- package-ecosystem: "cargo"
25+
directory: "/"
26+
schedule:
27+
interval: "daily"
28+
target-branch: "v2.3"
29+
# Allow updates within 2.x range, prevent 3.x upgrades
30+
allow:
31+
# Allow updates within major version 2.x for Agave ecosystem
32+
- dependency-name: "agave-geyser-plugin-interface"
33+
# Allow updates within major version 2.x for Solana ecosystem
34+
- dependency-name: "solana-*"
35+
# Allow all other dependency updates
36+
- dependency-name: "*"
37+
# Prevent major version upgrades that could break compatibility
38+
ignore:
39+
# Block Agave 3.x upgrades (would break ABI compatibility)
40+
- dependency-name: "agave-geyser-plugin-interface"
41+
versions: [">=3.0.0"]
42+
# Block Solana 3.x upgrades (would break compatibility)
43+
- dependency-name: "solana-*"
44+
versions: [">=3.0.0"]
45+
# Group related updates together
46+
groups:
47+
agave-updates:
48+
patterns:
49+
- "agave-*"
50+
update-types:
51+
- "patch"
52+
- "minor"
53+
solana-updates:
54+
patterns:
55+
- "solana-*"
56+
update-types:
57+
- "patch"
58+
- "minor"
59+
other-updates:
60+
patterns:
61+
- "*"
62+
exclude-patterns:
63+
- "agave-*"
64+
- "solana-*"

0 commit comments

Comments
 (0)