Skip to content

Commit c792a3f

Browse files
committed
ci(workflow): add write permissions to release job
- Add `contents: write` permission to the release job in build.yml - Ensures the workflow has the necessary permissions to upload release assets - Fixes potential authorization failures when publishing to GitHub Releases
1 parent e7a9d3e commit c792a3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
needs: build
4242
runs-on: windows-latest
4343
if: github.event_name == 'release'
44+
permissions:
45+
contents: write
4446

4547
steps:
4648
- name: Checkout

0 commit comments

Comments
 (0)