mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Remove GHA permissions where possible (#4812)
This commit is contained in:
parent
53548a46b8
commit
3ad1bb655a
2 changed files with 5 additions and 1 deletions
2
.github/workflows/ci-squared.yml
vendored
2
.github/workflows/ci-squared.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/pkg.yml
|
||||
- .github/workflows/pkg-for-platform.yml
|
||||
- .github/workflows/pkg-platform.yml
|
||||
- .github/workflows/ci-squared.yml
|
||||
|
||||
concurrency:
|
||||
|
|
4
.github/workflows/pkg-platform.yml
vendored
4
.github/workflows/pkg-platform.yml
vendored
|
@ -59,6 +59,7 @@ jobs:
|
|||
name: build ${{inputs.tinyname}}
|
||||
runs-on: ${{ fromJSON(inputs.os) }}
|
||||
container: ${{ inputs.container }}
|
||||
permissions: {}
|
||||
outputs:
|
||||
project: ${{ steps.build.outputs.project }}
|
||||
version: ${{ steps.build.outputs.version }}
|
||||
|
@ -100,6 +101,7 @@ jobs:
|
|||
matrix:
|
||||
os: ${{ fromJSON(inputs.test-os) }}
|
||||
container: ${{ fromJSON(inputs.test-container) }}
|
||||
permissions: {}
|
||||
runs-on: ${{ matrix.os }}
|
||||
container: ${{ matrix.container }}
|
||||
env:
|
||||
|
@ -117,6 +119,7 @@ jobs:
|
|||
bottle:
|
||||
name: bottle (${{inputs.tinyname}}.${{matrix.compression}})
|
||||
needs: [build, test]
|
||||
permissions: {}
|
||||
strategy:
|
||||
matrix:
|
||||
compression: [xz, gz]
|
||||
|
@ -188,6 +191,7 @@ jobs:
|
|||
name: publish ${{inputs.tinyname}} ${{ inputs.dry-run && '(dry-run)' }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: [bottle, build]
|
||||
permissions: {}
|
||||
env:
|
||||
DIRNAME: ${{ needs.build.outputs.project }}/${{ needs.build.outputs.platform }}/${{ needs.build.outputs.arch }}
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue