Skip to content

fix(ci): add write permissions for release asset uploads#171

Merged
j-d-ha merged 1 commit into
mainfrom
fix/#168-add-write-permissions-for-release-asset-uploads
Nov 24, 2025
Merged

fix(ci): add write permissions for release asset uploads#171
j-d-ha merged 1 commit into
mainfrom
fix/#168-add-write-permissions-for-release-asset-uploads

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

Summary

Changes

  • Updated .github/workflows/publish-to-nuget.yaml to change permission from contents: read to contents: write

Test plan

  • Verify that a new release can be created successfully
  • Confirm that NuGet packages are uploaded as release artifacts without HTTP 403 errors
  • Check that the publish workflow completes successfully from trigger through artifact upload

Closes #168

The publish workflow requires 'contents: write' permission to upload
NuGet packages as release artifacts. Previously, the workflow had
only 'contents: read' permission, causing HTTP 403 errors when
attempting to run 'gh release upload'.

Fixes #168
@github-actions github-actions Bot added the type: fix Bug fix label Nov 24, 2025
@sonarqubecloud

Copy link
Copy Markdown

@j-d-ha
j-d-ha merged commit 880897c into main Nov 24, 2025
6 checks passed
@j-d-ha
j-d-ha deleted the fix/#168-add-write-permissions-for-release-asset-uploads branch November 24, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): add write permissions for release asset uploads

1 participant