ci: fix build.yml permissions
This commit is contained in:
parent
56ad85d039
commit
039310edad
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -123,6 +123,9 @@ jobs:
|
||||||
if: ${{ !failure() && !cancelled() }}
|
if: ${{ !failure() && !cancelled() }}
|
||||||
needs: [tests, prepare]
|
needs: [tests, prepare]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
env:
|
env:
|
||||||
SHOULD_DEPLOY: ${{needs.prepare.outputs.should_deploy}}
|
SHOULD_DEPLOY: ${{needs.prepare.outputs.should_deploy}}
|
||||||
PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}
|
PKG_VERSION: ${{needs.prepare.outputs.pkg_version}}
|
||||||
|
|
Loading…
Reference in a new issue