Skip to content

ci: switch NuGet publishing to Trusted Publishing (OIDC) - #6

Open
Aragas wants to merge 1 commit into
masterfrom
trusted-publishing
Open

ci: switch NuGet publishing to Trusted Publishing (OIDC)#6
Aragas wants to merge 1 commit into
masterfrom
trusted-publishing

Conversation

@Aragas

@Aragas Aragas commented Jul 30, 2026

Copy link
Copy Markdown
Member

Switches NuGet publishing from the long-lived NUGET_API_KEY secret to Trusted Publishing: the workflow now gets a short-lived API key via GitHub OIDC using NuGet/login@v1. The GitHub Packages push is unchanged.

Before merging

  • On nuget.org (account Aragas) add a Trusted Publishing policy: Repository Owner BUTR, Repository BUTR.CrashReport, Workflow File publish.yml
  • Merge within 7 days of creating the policy (it must see a successful publish to become permanently active)

After a successful publish

  • Remove the NUGET_API_KEY secret from this repo (revoke the key on nuget.org once all repos are migrated)

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant