Skip to content

Commit 174c8b2

Browse files
fix(ci): add contents:write permission to release workflow (#8)
The release workflow was failing with 403 when trying to create a GitHub Release. This was caused by missing 'contents: write' permission which is required by the softprops/action-gh-release action. Other SDK repos (Go, Python) already have this permission configured.
1 parent 80612ea commit 174c8b2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)