github / github/codeql

C# Add support for authenticated nuget feeds

未关闭
#21,520 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

**Description of the issue**

This is using advanced mode with `build-mode: none` to take advantage of the "no build" csharp analyzers.

When using authenticated nuget feeds with `build-mode: none`, CodeQL will try and restore the packages, however there are multiple errors within the logs indicating that the feed failed due to 401 errors:

```
[2026-03-20 02:10:31] [build-stdout] Checking if NuGet feed 'https://my-artifactory-feed' is reachable...
[2026-03-20 02:10:31] [build-stdout] Querying NuGet feed 'https://my-artifactory-feed' failed in a timely manner. Not considering the feed for use. The reason for the failure: Response status code does not indicate success: 401.
```

贡献指南

打开贡献指南

调研方向

Start by tracing the advanced-mode path for C# analysis with build-mode: none, focusing on where NuGet feeds are checked and packages are restored. Determine how authenticated feed credentials are expected to reach that path; done means authenticated feeds can be used without the reported 401 failures.

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
build-system
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。