Repository navigation
chore: publish to nuget.org via trusted publishing - #373
Conversation
Short-lived OIDC credentials replace the long-lived NuGet API key secret.
There was a problem hiding this comment.
🟢 Approval recommended
The required permission, login input, and publishing output are correctly connected, with no blocking issues identified.
0 open findings
What changed in this PR
Replaces the long-lived NuGet publishing key with short-lived credentials obtained through trusted publishing.
Changes:
- Grants the publishing job permission to request an OIDC token.
- Adds
NuGet/login@v1and uses its API-key output for package pushes.
| File | Description |
|---|---|
.github/workflows/build.yml |
Switches NuGet publishing to OIDC-based authentication. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v3.0.0. |

Short-lived OIDC credentials replace the long-lived NuGet API key secret.