Skip to content

Commit 7602916

Browse files
fix(ci): grant write permissions to release workflow
The `actions/create-release@v1` action requires `contents: write` permissions to create a GitHub release. The workflow was failing because these permissions were not granted. This change adds the necessary permissions to the `release` job in the `release.yml` workflow file, allowing it to create releases successfully.
1 parent f5ec15f commit 7602916

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ on:
1616
jobs:
1717
release:
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1921
steps:
2022
- name: Create Release
2123
id: create_release

0 commit comments

Comments
 (0)