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-actionswith directory/— keeping your workflow action versions patched is an easy security win people often miss. - Use
dockerblocks pointed at the directory holding eachDockerfileto get base-image bumps. - Set a
target-branchlikedevelopif you do not want update PRs landing directly against your default branch. - Reach for
ignoresparingly: silencing a dependency hides real security updates too, so prefer it only for packages you pin on purpose.