fix: 配置 Dependabot 访问组织内私有 NuGet 源#3
Merged
Conversation
- 移除手动 token 配置,依赖组织级别的自动访问权限 - 配置私有 GitHub Packages NuGet 源 - 解决 Dependabot 无法访问私有包的问题
There was a problem hiding this comment.
Pull Request Overview
This PR configures Dependabot to access the organization's private GitHub Packages NuGet source by removing manual token configuration and relying on organization-level automatic access permissions.
- Added a
registriessection to configure the private GitHub Packages NuGet feed - Referenced the registry in the nuget package ecosystem updates configuration
- Simplified authentication by leveraging automatic access within the same organization
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题描述
修复 Dependabot 无法访问组织内私有 NuGet 源的问题。
更改内容
注意事项
需要在组织设置中确保 Dependabot 有访问私有包的权限:
测试
等待 Dependabot 运行后验证是否能正常访问私有包源。