Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

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

Merged
vbreuss merged 1 commit into
mainfrom
chore/nuget-trusted-publishing
Oct 9, 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.
Copilot AI balanced review requested due to automatic review settings October 8, 2026 19:16
@vbreuss
vbreuss enabled auto-merge (squash) October 8, 2026 19:16

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

@sonarqubecloud

sonarqubecloud Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Comment thread .github/workflows/build.yml Dismissed
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

Test Results

    13 files  ±0      13 suites  ±0   11m 17s ⏱️ - 1m 20s
 6 804 tests ±0   6 801 ✅ ±0   3 💤 ±0  0 ❌ ±0 
40 669 runs  ±0  40 656 ✅ ±0  13 💤 ±0  0 ❌ ±0 

Results for commit 8eb2456. ± Comparison against base commit 0d91119.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

👽 Mutation Results

Mutation testing badge

aweXpect.Reflection

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.73GHz, 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 Gen0 Allocated
TypeIsNotStatic_aweXpect 124.2 ns 1.59 ns 1.49 ns 0.0238 400 B

@vbreuss
vbreuss disabled auto-merge October 9, 2026 14:13
@vbreuss
vbreuss merged commit b5dc6c3 into main Oct 9, 2026
14 checks passed
@vbreuss
vbreuss deleted the chore/nuget-trusted-publishing branch October 9, 2026 14:13
@github-actions github-actions Bot added the state: released The issue is released label Oct 10, 2026
@github-actions

Copy link
Copy Markdown

This is addressed in release v3.0.0.

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

Labels

state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants