<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn" -->

---
title: Automatic Dependabot access to GitHub-hosted registries
description: Dependabot can now authenticate to private GitHub Packages registries (npm, ghcr.io, and other GitHub-supported ecosystems) using its GITHUB_TOKEN with...
canonical: https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Automatic Dependabot access to GitHub-hosted registries | daily.dev
og:description: Dependabot can now authenticate to private GitHub Packages registries (npm, ghcr.io, and other GitHub-supported ecosystems) using its GITHUB_TOKEN with...
og:url: https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn
og:image: https://api.daily.dev/og/posts/WSzDemwXN.png
og:image:alt: Automatic Dependabot access to GitHub-hosted registries
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Automatic Dependabot access to GitHub-hosted registries

**[GitHub Changelog](https://daily.dev/sources/github_updates)** · 2 min read · 0 upvotes · 0 comments

## Summary

Dependabot can now authenticate to private GitHub Packages registries (npm, ghcr.io, and other GitHub-supported ecosystems) using its GITHUB_TOKEN with packages:read scope, eliminating the need for personal access tokens. Repositories granted Read access under a package's 'Manage Actions access' settings will automatically have Dependabot reuse that grant, no dependabot.yml changes required and existing PAT-based registry entries can be removed. The feature was briefly rolled back after launch due to a conflict causing some npm jobs to resolve public packages through GitHub Packages, and has now been re-enabled with automatic credentials acting only as fallback authentication.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/changelog/2026-09-08-automatic-dependabot-access-to-github-hosted-registries>

## Questions this post answers

### How does Dependabot authenticate to private GitHub Packages registries now?

Dependabot's GITHUB_TOKEN can request packages:read scope and Dependabot jobs send that token when pulling from *.pkg.github.com and ghcr.io. Any package that has granted the repository access through 'Manage Actions access' in its settings will accept the token, the same way a regular GitHub Actions workflow would. No changes to dependabot.yml are required, and this works across every GitHub Packages ecosystem Dependabot supports.

_Teams cutting over from PAT-based registry auth can track GitHub Packages changes like this on daily.dev._

### Do I still need a personal access token for Dependabot to read from GitHub Packages?

No, personal access tokens are no longer required for Dependabot to read from private GitHub Packages registries where the repository has been granted Read access via 'Manage Actions access.' Existing PAT-based registry entries configured for those packages can be removed once the repository has that access grant in the package settings.

_Anyone maintaining dependabot.yml configs can follow registry auth updates like this on daily.dev._

### Why was the automatic Dependabot GitHub Packages access feature temporarily rolled back?

Shortly after its initial release on June 23, 2026, GitHub temporarily rolled back the feature after finding it caused some npm update jobs to incorrectly resolve public packages through GitHub Packages. It has since been re-enabled with automatic GitHub Packages credentials used only as fallback authentication, so explicit registry credentials and normal registry routing take precedence.

_Developers debugging odd npm resolution behavior in Dependabot jobs can track GitHub Packages fixes on daily.dev._

## Similar posts on daily.dev

- [Automatic Dependabot access to GitHub-hosted registries](https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-l3b8qstfa) · GitHub Changelog · 0 upvotes · 0 comments
- [Dependabot no longer infers .npmrc](https://daily.dev/posts/dependabot-no-longer-infers-npmrc-kyn5ubzjn) · GitHub Changelog · 1 upvotes · 0 comments
- [Vercel Agent now installs private packages from npm and custom registries](https://daily.dev/posts/vercel-agent-now-installs-private-packages-from-npm-and-custom-registries-4obqjls1g) · Vercel · 3 upvotes · 1 comments

---

Tags: [#github](https://daily.dev/tags/github), [#github-actions](https://daily.dev/tags/github-actions), [#dependabot](https://daily.dev/tags/dependabot)

[View this post on daily.dev](https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Automatic Dependabot access to GitHub-hosted registries","url":"https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn"},"datePublished":"2026-09-08T17:35:11.020Z","dateModified":"2026-09-09T08:56:44.109Z","description":"Dependabot can now authenticate to private GitHub Packages registries (npm, ghcr.io, and other GitHub-supported ecosystems) using its GITHUB_TOKEN with...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf35405b9b8fe6f846189d07e70c5f37?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/cf35405b9b8fe6f846189d07e70c5f37?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/15004b7835da4d89b02b115871f0f6dc","url":"https://daily.dev/sources/github_updates"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,github-actions,dependabot","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Changelog","item":"https://daily.dev/sources/github_updates"},{"@type":"ListItem","position":3,"name":"Automatic Dependabot access to GitHub-hosted registries"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/automatic-dependabot-access-to-github-hosted-registries-wszdemwxn#faq","mainEntity":[{"@type":"Question","name":"How does Dependabot authenticate to private GitHub Packages registries now?","acceptedAnswer":{"@type":"Answer","text":"Dependabot's GITHUB_TOKEN can request packages:read scope and Dependabot jobs send that token when pulling from *.pkg.github.com and ghcr.io. Any package that has granted the repository access through 'Manage Actions access' in its settings will accept the token, the same way a regular GitHub Actions workflow would. No changes to dependabot.yml are required, and this works across every GitHub Packages ecosystem Dependabot supports. Teams cutting over from PAT-based registry auth can track GitHub Packages changes like this on daily.dev."}},{"@type":"Question","name":"Do I still need a personal access token for Dependabot to read from GitHub Packages?","acceptedAnswer":{"@type":"Answer","text":"No, personal access tokens are no longer required for Dependabot to read from private GitHub Packages registries where the repository has been granted Read access via 'Manage Actions access.' Existing PAT-based registry entries configured for those packages can be removed once the repository has that access grant in the package settings. Anyone maintaining dependabot.yml configs can follow registry auth updates like this on daily.dev."}},{"@type":"Question","name":"Why was the automatic Dependabot GitHub Packages access feature temporarily rolled back?","acceptedAnswer":{"@type":"Answer","text":"Shortly after its initial release on June 23, 2026, GitHub temporarily rolled back the feature after finding it caused some npm update jobs to incorrectly resolve public packages through GitHub Packages. It has since been re-enabled with automatic GitHub Packages credentials used only as fallback authentication, so explicit registry credentials and normal registry routing take precedence. Developers debugging odd npm resolution behavior in Dependabot jobs can track GitHub Packages fixes on daily.dev."}}]}
```

