Skip to content

Set permissions publish workflow to use OIDC - #187

Merged
CBielstein merged 1 commit into
mainfrom
nuget-trusted-publishing-2
Oct 10, 2026
Merged

CBielstein merged 1 commit into
mainfrom
nuget-trusted-publishing-2

Conversation

@CBielstein

Copy link
Copy Markdown
Owner

Description

Follow #186 to set correct workflow permissions to use OIDC as per GitHub's docs and the error message from the action (which says it needs both id-token and contents permissions).

Changes

  • Explicitly set the permissions for id-token and contents

Validation

  • Again, not sure how to test this outside of running it, so I'll merge and re-create the release.

@CBielstein CBielstein self-assigned this Oct 10, 2026
@CBielstein
CBielstein merged commit 51758e5 into main Oct 10, 2026
4 checks passed
@CBielstein
CBielstein deleted the nuget-trusted-publishing-2 branch October 10, 2026 23:34
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