Repository navigation
chore: publish to nuget.org via trusted publishing - #157
Conversation
Short-lived OIDC credentials replace the long-lived NuGet API key secret.
There was a problem hiding this comment.
🟢 Approval recommended
The permissions, login configuration, and generated-key usage are consistent with the trusted publishing flow, with no identified blocking issues.
0 open findings
What changed in this PR
Migrates NuGet publishing from a long-lived API key to short-lived credentials obtained through OIDC trusted publishing.
Changes:
- Grants the publishing job permission to request an OIDC token.
- Adds
NuGet/login@v1and uses its generated API key when pushing packages.
| File | Description |
|---|---|
.github/workflows/build.yml |
Configures trusted publishing and replaces the stored API key with the login output. |
🧠 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.3.0. |




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