github / github/roadmap

Dependabot will stop inferring .npmrc [GA]

Open
#1,257 1 comment 0 reactions 0 assignees View on GitHub
Enterprise Free GHES 3.23 GitHub Advanced Security (GHAS) Shipped Team
Dominant language
No language data
Stars
8.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

### Value Prop
Dependabot's automatic `.npmrc` inference for npm private registries has been a persistent source of broken update runs — failing silently due to incorrect lockfile URLs, format changes, or package manager differences. With this release, customers gain explicit control over registry scopes via a new `scope` property in `dependabot.yml`, and Dependabot generates the correct `.npmrc` automatically. This means fewer mysterious failures, less time debugging registry configuration, and more reliable dependency updates out of the box.

### Expected Outcome
We want to eliminate the most common class of npm private registry failures by replacing an unreliable inference mechanism with an explicit, user-defined configuration model. Customers should experience predictable and correct `.npmrc` generation every time, reducing support burden and increasing confidence in Dependabot for enterprise npm workflows. Success looks like a measurable drop in registry-related Dependabot failures and fewer customer-reported issues around private npm registry setups.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.