Dependabot Config Generator
Generate a .github/dependabot.yml to keep dependencies up to date automatically. Tick the package ecosystems your repo uses — npm, pip, Docker, GitHub Actions, Go, Maven, Composer, Bundler, Cargo — set the update schedule and how many open pull requests to allow, and optionally group minor and patch updates together. Copy the file into .github/ and Dependabot starts raising PRs. Generated in your browser.
How to use the Dependabot Config Generator
Tick every ecosystem present in your repository — each becomes a separate updates entry with the correct package-ecosystem value, so a repo with a package.json and a Dockerfile gets both npm and Docker monitoring. Set the schedule (weekly is a sensible default that avoids PR noise), the directory the manifests live in (use / for the repo root), and a cap on simultaneously open PRs. The file regenerates live; save it as .github/dependabot.yml and commit it.
Leave grouping on to bundle minor and patch bumps into a single pull request per ecosystem instead of one PR per package — this dramatically reduces the volume Dependabot creates while still surfacing major updates individually so you can review breaking changes carefully. Add reviewers if you want specific people requested automatically. Once committed, Dependabot validates the file (you can see errors in the Insights → Dependency graph → Dependabot tab) and begins opening update PRs on the schedule you chose.
What Dependabot version updates do
Dependabot is GitHub's built-in dependency updater. Its version updates feature watches your dependency manifests and lockfiles and opens pull requests when newer versions are released, so your dependencies do not silently drift years out of date. It is configured entirely through one file, .github/dependabot.yml, and runs on GitHub's infrastructure with no service to host or token to manage.
The configuration centres on a list of updates entries, one per ecosystem and directory. Each entry names a package-ecosystem — npm, pip, docker, github-actions, gomod, maven, composer, bundler, cargo, and more — the directory where its manifest lives, and a schedule that controls how often Dependabot checks. Additional keys tune behaviour: open-pull-requests-limit caps how many PRs can be open at once, reviewers and labels route them, and groups combine related updates so you do not drown in one-package-per-PR noise.
Keeping the github-actions ecosystem updated deserves special mention: pinned action versions in your workflows are dependencies too, and out-of-date or unpinned actions are a real supply-chain risk. Adding that entry lets Dependabot bump action versions alongside your application dependencies. Note that version updates are separate from Dependabot's security updates, which are enabled in repository settings and fire whenever an advisory affects a dependency regardless of this file — the two work together, with this configuration controlling routine upgrades and the security feature handling urgent vulnerabilities.
Common use cases
- New repositories. Turn on automated dependency PRs from day one with the right ecosystems.
- Reducing PR noise. Add grouping to a repo where Dependabot opens too many separate PRs.
- Supply-chain hygiene. Keep pinned GitHub Actions and base images current, not just app packages.
- Polyglot repos. Configure several ecosystems — npm, Docker, Actions — in one file.