Dependabot Config Builder

Generate a .github/dependabot.yml for automated dependency updates

Creates a valid version-2 dependabot.yml with one or more update blocks, each setting package-ecosystem, directory, update schedule, target branch, assignees, and ignored dependencies for automated, PR-based dependency upgrades.

Where does the dependabot.yml file go?

It must live at .github/dependabot.yml in the default branch of your repository. Dependabot reads it from there automatically; no app installation step is needed for native GitHub Dependabot.

Automated dependency PRs without hand-writing YAML

Dependabot keeps your dependencies patched by opening pull requests as new versions ship — but only once it has a correct .github/dependabot.yml. This builder generates that file from a form: choose each ecosystem, point at the right directory, set a cadence, and add ignore rules, with every block emitted as valid version-2 YAML.

How it works

The config follows Dependabot’s version-2 schema. Each update block declares a package-ecosystem (the manifest type, like npm, pip, docker, or github-actions), a directory where that manifest lives, and a schedule.interval of daily, weekly, or monthly. Optional fields are emitted only when set: a target-branch to base PRs on, an assignees list, and an ignore list of dependency names to skip. Multiple blocks are stacked under a single updates: key so one file covers every ecosystem in your repo. The output is generated locally and is ready to commit.

Tips and example

  • Add a separate block for github-actions with directory / — keeping your workflow action versions patched is an easy security win people often miss.
  • Use docker blocks pointed at the directory holding each Dockerfile to get base-image bumps.
  • Set a target-branch like develop if you do not want update PRs landing directly against your default branch.
  • Reach for ignore sparingly: silencing a dependency hides real security updates too, so prefer it only for packages you pin on purpose.