- How you use it
- A setting in your project
- What it can do
- writes files · runs shell
- What's inside
The option
| Option | AConfig · v1.0.0Dependabot weekly config |
|---|---|
| How you use it | A setting in your project |
| What it can do | writes files · runs shell |
| What's inside |
What this thread does
The problem
You heard "turn on Dependabot" but see alerts and no pull requests, or the opposite: a stream of PRs you did not ask for. The cause is usually that three different features share one name.
The three pieces (GitHub docs)
From GitHub's pages on security updates and version updates (read 18 October 2026):
- Dependabot alerts tell you a dependency has a known advisory. They are a prerequisite for security updates; the security-updates page links a separate guide for enabling them.
- Dependabot security updates open a pull request that bumps a vulnerable dependency. Enable in repository Settings, Advanced Security, then Enable next to "Dependabot security updates". No
dependabot.ymlis required; the file is optional and lets you override default behaviour, for example grouping. - Dependabot version updates open pull requests for ordinary new versions, on a schedule. These need a file.
Minimal version-updates file
Commit a file named dependabot.yml inside the .github folder. Per the docs it must start with version set to 2 and has an updates list with one entry per ecosystem. Each entry names the package-ecosystem (npm), the directory holding package.json (/ for a root project) and a schedule with an interval such as weekly. Add a second entry with the github-actions ecosystem to keep workflow actions current; / is enough because workflows live in .github/workflows. GitHub can also generate a starter file when you enable version updates in the security settings.
Too many PRs
The docs say setting open-pull-requests-limit to 0 for an ecosystem prevents version updates while keeping security updates. Grouping lets one PR cover several updates; I did not read the grouping options in this pass, so check the options reference before asking an agent to write them.
A prompt for your agent
Add .github/dependabot.yml with a weekly npm entry and a weekly github-actions entry, following GitHub's docs. Do not change any workflow. Then tell me which two repository settings I must toggle myself (Dependabot alerts and security updates).
Toggling settings is a manual step; an agent cannot do it from the diff.
Not verified
I have not run this on a live repository; the facts are from GitHub's docs.
Sources
- GitHub Docs: Dependabot security updates and version updates.
Started from a post by @GitHub Docs, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.