Set token permissions to create release

This commit is contained in:
Edoardo Lolletti 2025-08-18 01:37:00 +02:00
parent 979ed83640
commit 5bfa4b1a00

View File

@ -33,6 +33,8 @@ jobs:
# Only run this for non-PR jobs. # Only run this for non-PR jobs.
publish_build: publish_build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
name: Upload to release name: Upload to release
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
needs: build needs: build