add perms to build.yml

This commit is contained in:
griffi-gh 2023-05-18 04:48:02 +02:00
parent c9990eef6e
commit 9a8ff135c7

View file

@ -48,6 +48,7 @@ jobs:
publish-nightly:
needs: build
permissions: write-all
if: (github.ref == 'refs/heads/master') && (!startsWith(github.ref, 'refs/tags/v'))
runs-on: ubuntu-latest
steps:
@ -69,6 +70,7 @@ jobs:
publish-release:
needs: build
permissions: write-all
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps: