github / github/codeql

C# Add support for authenticated nuget feeds

Aperta
#21,520 4 commenti 2 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

**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.
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
build-system
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.