Skip to content

chore: publish to nuget.org via trusted publishing - #157

Merged
vbreuss merged 1 commit into
mainfrom
chore/nuget-trusted-publishing
Oct 8, 2026
Merged

vbreuss merged 1 commit into
mainfrom
chore/nuget-trusted-publishing

Conversation

@vbreuss

@vbreuss vbreuss commented Oct 8, 2026

Copy link
Copy Markdown
Member

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

Short-lived OIDC credentials replace the long-lived NuGet API key secret.
@vbreuss vbreuss self-assigned this Oct 8, 2026
Copilot AI balanced review requested due to automatic review settings October 8, 2026 19:09
@vbreuss
vbreuss merged commit e06aa37 into main Oct 8, 2026
9 of 10 checks passed
@vbreuss
vbreuss deleted the chore/nuget-trusted-publishing branch October 8, 2026 19:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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@v1 and 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.

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 New issue
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Mockolate

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Runtime Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.5 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.303
[Host] : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3
DefaultJob : .NET 10.0.12 (10.0.12, 10.0.1226.42308), X64 RyuJIT x86-64-v3

Method Mean Error StdDev Median Allocated
Dummy_aweXpect 0.0001 ns 0.0003 ns 0.0002 ns 0.0 ns -

@github-actions

Copy link
Copy Markdown

This is addressed in release v3.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants