mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 05:38:20 -06:00
add perms to build.yml
This commit is contained in:
parent
928fd2956c
commit
60ae7177b8
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue