Skip to content

Commit 1462c80

Browse files
committed
fix: add write permissions to GitHub Actions workflow
Add contents:write and packages:write permissions to resolve 422 error when creating GitHub releases. This allows the workflow to create releases and upload NuGet package artifacts.
1 parent ee1d26e commit 1462c80

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- 'v*.*.*'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write
11+
packages: write
12+
913
env:
1014
DOTNET_VERSION: '9.0.x'
1115
CONFIGURATION: Release

0 commit comments

Comments
 (0)