Grant contents write permission to release jobs

Since I restricted the default GitHub Actions token to read-only permissions, this permission needs to be explicitly granted to allow the creation of a release and the upload of release assets.
This commit is contained in:
Oliver Hamlet
2025-10-03 19:47:59 +01:00
parent f4a0917294
commit cfda074b2e
+6
View File
@@ -12,6 +12,9 @@ jobs:
create_release:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: Create a draft GitHub Release
env:
@@ -27,6 +30,9 @@ jobs:
runs-on: windows-2022
needs: create_release
permissions:
contents: write
strategy:
matrix:
target: