Skip to content

Commit 35b828b

Browse files
authored
Switch from Dependabot to Renovate to match org convention (#56)
The flagship vortex repo plus duckdb-vortex and vortex-datafusion-cli all use Renovate; bring vortex.dev in line. The new renovate.json is modeled on vortex/renovate.json but tailored for a Next.js marketing site: - config:recommended + :automergeStableNonMajor + :automergePr + :automergeRequireAllStatusChecks for safe auto-merge of non-major bumps once CI passes (replaces the dependabot-auto-merge.yml workflow, which is now removed since Renovate's platformAutomerge handles this natively). - :dependencyDashboard for a single tracking issue. - schedule:earlyMondays preserves the previous Monday cadence. - helpers:pinGitHubActionDigests keeps workflow actions SHA-pinned to match the existing ci.yml style. - lockFileMaintenance enabled for periodic bun.lock refresh. - packageRules group Next.js, React, TailwindCSS, MDX pipeline, Analytics, Biome, and GitHub Actions; "all patch updates" collapses patch noise into a single weekly PR. Note: this is not a restore of the original renovate.json from #13. That config had no grouping, which is part of why the post-Biome-migration Renovate PRs piled up uncollapsed. The new config groups by ecosystem so a future toolchain change won't generate a flood of independent PRs. Signed-off-by: Will Manning <will@willmanning.io>
1 parent 06e2a76 commit 35b828b

3 files changed

Lines changed: 67 additions & 117 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/dependabot-auto-merge.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

renovate.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":automergeStableNonMajor",
6+
":automergePr",
7+
":automergeRequireAllStatusChecks",
8+
":combinePatchMinorReleases",
9+
":dependencyDashboard",
10+
":separateMultipleMajorReleases",
11+
":configMigration",
12+
"schedule:earlyMondays",
13+
"helpers:pinGitHubActionDigests"
14+
],
15+
"lockFileMaintenance": {
16+
"enabled": true
17+
},
18+
"automergeStrategy": "squash",
19+
"rebaseWhen": "conflicted",
20+
"platformAutomerge": true,
21+
"labels": ["dependencies"],
22+
"patch": {
23+
"groupName": "all patch updates"
24+
},
25+
"packageRules": [
26+
{
27+
"groupName": "Next.js",
28+
"matchPackageNames": ["next", "@next/**"]
29+
},
30+
{
31+
"groupName": "React",
32+
"matchPackageNames": [
33+
"react",
34+
"react-dom",
35+
"@types/react",
36+
"@types/react-dom"
37+
]
38+
},
39+
{
40+
"groupName": "TailwindCSS",
41+
"matchPackageNames": ["tailwindcss", "@tailwindcss/**"]
42+
},
43+
{
44+
"groupName": "MDX content pipeline",
45+
"matchPackageNames": [
46+
"@mdx-js/**",
47+
"react-markdown",
48+
"remark-**",
49+
"rehype-**",
50+
"velite"
51+
]
52+
},
53+
{
54+
"groupName": "Analytics",
55+
"matchPackageNames": ["@vercel/analytics", "next-plausible"]
56+
},
57+
{
58+
"groupName": "Biome",
59+
"matchPackageNames": ["@biomejs/**"]
60+
},
61+
{
62+
"matchManagers": ["github-actions"],
63+
"groupName": "GitHub Actions",
64+
"addLabels": ["github-actions"]
65+
}
66+
]
67+
}

0 commit comments

Comments
 (0)