add perms to build.yml

This commit is contained in:
griffi-gh 2023-05-18 04:48:02 +02:00
parent 928fd2956c
commit 60ae7177b8

View file

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