Automated Dependency Updates with Renovate and Dependabot
Keep dependencies current safely: Dependabot vs Renovate, grouping and scheduling updates, automerge rules, release-age delays and security update priorities...
Published December 4, 2026
Outdated dependencies accumulate vulnerabilities and make eventual upgrades painful. Manually tracking hundreds of packages is impossible, so most teams use bots that open pull requests when new versions are released. Configured well, these bots keep you current with little effort; configured badly, they flood repos with noise or merge risky changes automatically.
The concept
Dependabot (built into GitHub) opens PRs for version updates and security updates based on a dependabot.yml configuration. Renovate (open source, runs as an app or self-hosted) supports more package managers and platforms and offers very flexible rules: grouping related packages, schedules, automerge policies, dependency dashboards and minimum release age.
Good configurations group minor and patch updates to reduce PR volume, schedule non-security updates for quiet times, automerge only low-risk updates that pass CI (dev dependencies, patch versions of well-tested libraries), delay adoption of brand-new releases by a few days to avoid freshly published malicious versions, and always prioritise security fixes.
Dependabot vs Renovate
| Dependabot | Renovate | |
|---|---|---|
| Hosting | Built into GitHub | App, self-hosted, many platforms |
| Ecosystems | Major ones | Very broad (incl. Docker, Helm, Terraform, GitHub Actions) |
| Grouping | Supported | Highly flexible |
| Automerge | Via GitHub auto-merge + workflows | Built-in rules |
| Release age delay | Cooldown options | minimumReleaseAge |
| Dashboard | Security tab | Dependency Dashboard issue |
Update flow
Grouping reduces noise
Practical examples
Renovate configuration
Group, schedule, delay and automerge safely.
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"schedule": ["before 6am on monday"],
"minimumReleaseAge": "3 days",
"packageRules": [
{ "matchUpdateTypes": ["minor", "patch"], "groupName": "non-major dependencies" },
{ "matchDepTypes": ["devDependencies"], "matchUpdateTypes": ["patch", "minor"], "automerge": true },
{ "matchUpdateTypes": ["major"], "labels": ["major-update"], "automerge": false }
],
"vulnerabilityAlerts": { "enabled": true, "schedule": ["at any time"] }
}Dependabot configuration with groups
.github/dependabot.yml
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule: { interval: weekly }
groups:
minor-and-patch: { update-types: ["minor", "patch"] }
- package-ecosystem: github-actions
directory: "/"
schedule: { interval: weekly }Make CI strong enough to trust
Automerge is only as safe as your tests.
- run: npm ci && npm run lint && npx tsc --noEmit && npm testCommon mistakes
- Ignoring bot PRs until there are hundreds and upgrades become huge.
- Automerging major versions or production dependencies with weak tests.
- Adopting releases minutes after publication.
- Not updating GitHub Actions and Docker base images, only app packages.
Key takeaways
- Bots keep dependencies current with little manual effort.
- Group and schedule updates to reduce noise.
- Automerge only low-risk updates with strong CI.
- Delay new releases a few days; fast-track security fixes.
FAQ
Which should I choose?
Dependabot is easiest on GitHub; Renovate offers more control and broader ecosystem support.
How do I handle a major upgrade?
Treat it as a planned task: read the changelog, upgrade in a dedicated PR, and run full tests.
Do bots handle transitive dependencies?
They update lockfiles; security updates can bump transitive versions when the parent allows it.