talira

Dependabot

Automated dependency updates built into GitHub

serviceMITfree

Dependabot is GitHub's built-in dependency updater: version updates open pull requests that keep dependencies current, configured by a dependabot.yml file in the repository, and security updates open pull requests that move a vulnerable dependency to the minimum patched version when a Dependabot alert is raised. It covers dozens of ecosystems, from npm, pip, Bundler, Cargo, Go modules and Maven to Docker, Helm charts, GitHub Actions, Terraform and OpenTofu. Its update logic, dependabot-core, is MIT-licensed and can be run on its own through the Dependabot CLI.

Problems it solves

  • our dependencies fall months behind because nobody remembers to update them
  • get a pull request automatically when a vulnerable package has a patched version
  • keep the actions in our GitHub workflows pinned and up to date
  • update base images in our Dockerfiles when new versions come out
  • group minor dependency bumps into one pull request a week instead of dozens
  • wait a few days after a release before upgrading, in case it's pulled
  • dependency update pull requests that work with our private package registry
  • dozens of dependency update pull requests a week pile up and go stale because nobody merges them
  • merge patch-level dependency updates automatically once our required checks pass
  • combine updates from npm, Docker and GitHub Actions into a single pull request

Features

  • version update pull requests configured by dependabot.yml
  • security update pull requests from Dependabot alerts
  • dozens of ecosystems including npm, pip, Bundler, Cargo, Go, Maven, Docker, Helm, GitHub Actions and Terraform
  • release cooldown (3 days by default)
  • open source update logic (dependabot-core) and Dependabot CLI
  • grouped updates (groups by patterns, update-types, dependency-type and applies-to) and multi-ecosystem groups in one pull request
  • schedules from daily to yearly, or cron
  • open-pull-requests-limit (5 open version update pull requests by default; security updates have a fixed limit of 10)
  • auto-merge through a GitHub Actions workflow with dependabot/fetch-metadata and gh pr merge --auto, gated on required status checks

Limitations

  • Doesn't open pull requests outside GitHub: elsewhere you run dependabot-core or the Dependabot CLI and wire up pull requests yourself1
  • Doesn't merge its own pull requests: dependabot.yml has no auto-merge option, so GitHub documents a GitHub Actions workflow that enables auto-merge23
  • No longer takes merge, close or reopen commands in pull request comments: GitHub retired @dependabot merge and the others on 27 January 20264

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Dependabot does.

  1. Renovate Automated dependency updates across many package managers and platforms
  2. Snyk Find, fix and prevent vulnerabilities in code, open source dependencies, container images and cloud configurations
  3. Depfu Automated dependency updates done right, for GitHub and GitLab
  4. bundler-audit Patch-level verification for Bundler
  5. OSV-Scanner Find known vulnerabilities in your project's dependencies, using OSV.dev
  6. OWASP Dependency-Check Software composition analysis that finds publicly disclosed vulnerabilities in a project's dependencies

Compare Dependabot with the top 3