Skip to content

CodeQL C# analyze: replace unauthorized dotnet NuGet feed - #9388

Draft
Sandeep Kumar Das (Sandeep-622) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-analyze-csharp-job
Draft

CodeQL C# analyze: replace unauthorized dotnet NuGet feed#9388
Sandeep Kumar Das (Sandeep-622) with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-analyze-csharp-job

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Related Issue

Addresses the failing GitHub Actions check run Analyze (csharp) (92806375382), where CodeQL C# dependency discovery flagged an unreachable NuGet source.

Description

The C# CodeQL job was degraded by a 401 Unauthorized feed configured in source/dotnet/NuGet.config, causing dependency-restore failures/noise during build-mode none analysis. This change removes that inaccessible source from dotnet-specific NuGet configuration and aligns it with the repo’s accessible dependency feed.

  • Root cause

    • source/dotnet/NuGet.config pointed to AdaptiveCards-public (pkgs.dev.azure.com/microsoft/...), which returned 401 in GitHub Actions.
  • Change

    • Replaced the dotnet feed entry with AdaptiveCards-Dependencies (pkgs.dev.azure.com/shine-oss/...), consistent with repo usage.
  • Expected effect

    • Eliminates the unauthorized feed from C# analysis dependency source enumeration, reducing restore failures and improving CodeQL C# analysis quality/signal.
<!-- source/dotnet/NuGet.config -->
<add key="AdaptiveCards-Dependencies" value="https://pkgs.dev.azure.com/shine-oss/AdaptiveCards/_packaging/AdaptiveCards-Dependencies/nuget/v3/index.json" />

Sample Card

Not applicable (CI/NuGet configuration change only).

How Verified

Validation should come from rerunning the Analyze (csharp) workflow, since this is a CI feed-configuration fix (no product/runtime behavior change).

Co-authored-by: Sandeep-622 <83388283+Sandeep-622@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Analyze (csharp) CodeQL C# analyze: replace unauthorized dotnet NuGet feed Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants