Skip to content

Commit 63b8cba

Browse files
fix: Add packages write permission to publish workflow
- Add permissions for contents:write and packages:write - Fixes 403 Forbidden error when publishing to GitHub Packages - GITHUB_TOKEN now has required permissions for package publishing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent bd31d46 commit 63b8cba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
publish:
2020
name: Build and Publish NuGet Packages
2121
runs-on: ubuntu-latest
22+
permissions:
23+
contents: write
24+
packages: write
2225

2326
steps:
2427
- name: Checkout code

0 commit comments

Comments
 (0)