mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-21 14:28:43 -06:00
add perms to build.yml
This commit is contained in:
parent
c9990eef6e
commit
9a8ff135c7
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