mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user