Skip to content

Commit 87989cc

Browse files
committed
chore: migrate from Dependabot to Renovate
Replace Dependabot with Renovate for dependency management. Renovate has native Bun support and correctly handles bun.lock, which Dependabot does not — causing CI failures on every PR. Config highlights: - Groups non-major npm updates into single PRs - Separate PRs for major version bumps (require review) - Groups GitHub Actions updates - Auto-merges minor/patch updates - Uses chore(deps): and ci(deps): conventional commit prefixes - Weekend schedule to avoid weekday noise
1 parent 602f872 commit 87989cc

3 files changed

Lines changed: 40 additions & 25 deletions

File tree

.github/dependabot.yml

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

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If tests fail, identify whether failures are pre-existing vs introduced by your
4848
- **Conventional Commits** (`.github/workflows/conventional-commits.yml`) — Validates PR titles follow the convention.
4949
- **CodeQL** (`.github/workflows/codeql.yml`) — Static analysis for TypeScript; runs on PRs, pushes to `main`, and weekly.
5050
- **Publish** (`.github/workflows/publish.yml`) — semantic-release to npm on `main`.
51-
- **Dependabot** (`.github/dependabot.yml`) — Opens weekly PRs for npm and GitHub Actions dependency updates. These use `chore(deps):` and `ci(deps):` commit prefixes.
51+
- **Renovate** (`renovate.json`) — Automated dependency updates via the Renovate GitHub App. Groups non-major npm updates, creates separate PRs for majors, and auto-merges minor/patch. Uses `chore(deps):` and `ci(deps):` commit prefixes.
5252

5353
## Branch & Merge Rules
5454

renovate.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
"schedule:weekends",
6+
":semanticCommits",
7+
":automergeMinor",
8+
":automergePatch"
9+
],
10+
"labels": ["dependencies"],
11+
"prHourlyLimit": 3,
12+
"prConcurrentLimit": 5,
13+
"rebaseWhen": "behind-base-branch",
14+
"packageRules": [
15+
{
16+
"description": "Group non-major npm dependency updates",
17+
"matchManagers": ["bun"],
18+
"matchUpdateTypes": ["minor", "patch"],
19+
"groupName": "npm non-major dependencies",
20+
"commitMessagePrefix": "chore(deps):",
21+
"labels": ["dependencies"]
22+
},
23+
{
24+
"description": "Major npm dependency updates (separate PRs for review)",
25+
"matchManagers": ["bun"],
26+
"matchUpdateTypes": ["major"],
27+
"commitMessagePrefix": "chore(deps):",
28+
"labels": ["dependencies"],
29+
"automerge": false
30+
},
31+
{
32+
"description": "Group GitHub Actions updates",
33+
"matchManagers": ["github-actions"],
34+
"groupName": "github actions",
35+
"commitMessagePrefix": "ci(deps):",
36+
"labels": ["dependencies", "ci"]
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)