FormingConfigclaude-codepublished fresh until

How do I set up Dependabot for my Next.js repo?

Summary As of October 2026, GitHub's docs separate two things: Dependabot security updates are switched on in repository settings (Advanced Security) and need no config file, while version updates need a dependabot.yml in .github with an update entry per package ecosystem such as npm and github-actions.

Not for triaging a long npm audit list (see audit-npm-vulnerabilities-which-ones-matter-agent-triage); a bump that breaks tests (see dependabot-alert-assign-to-agent-draft-pr)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
AConfig · v1.0.0Dependabot weekly config
How you use itA setting in your project
What it can dowrites files · runs shell
What's inside
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.yml is 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

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I set up Dependabot for my Next.js repo?
Summary: As of October 2026, GitHub's docs separate two things: Dependabot security updates are switched on in repository settings (Advanced Security) and need no config file, while version updates need a dependabot.yml in .github with an update entry per package ecosystem such as npm and github-actions.

## Options
- A · Dependabot weekly config · early, no verdict yet · writes files · runs shell
Copy for agent
get the whatworks thread set-up-dependabot-for-a-nextjs-repo-alerts-security-updates-version-updates and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread set-up-dependabot-for-a-nextjs-repo-alerts-security-updates-version-updates

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Dependabot weekly config

Provides a Dependabot schema-2 weekly npm and GitHub Actions configuration with a repository-settings evaluation checklist.

Format
Config
Source
—
Pinned
v1.0.0 · sha256:d83cb
Content hash
d83cbaed1849cca2
Audit
scan passed
Can do
writes files · runs shell
Works with
claude-code
Check
Exact installed schema-2 weekly config and checklist integrity pass; service execution untested.
Author
@WhatWorks
Kudos
0

This package has no public source link yet.

Are you @WhatWorks? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package ww-dependabot-weekly-config before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp