mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
add top level permissions to remaining github workflows (#2995)
Signed-off-by: Roee Landesman <roee.landesman@gmail.com>
This commit is contained in:
parent
3e524b5586
commit
665d2022d8
5 changed files with 10 additions and 0 deletions
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -7,6 +7,8 @@ on:
|
|||
branches:
|
||||
- 'main'
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
pre-checks:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/e2e.yaml
vendored
2
.github/workflows/e2e.yaml
vendored
|
@ -17,6 +17,8 @@ on:
|
|||
- 'docs/**'
|
||||
- '.github/config.yml'
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
e2e-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/fossa.yml
vendored
2
.github/workflows/fossa.yml
vendored
|
@ -5,6 +5,8 @@ on:
|
|||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/helm-release.yaml
vendored
2
.github/workflows/helm-release.yaml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
tags:
|
||||
- 'helm-chart-v*'
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
helm-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
2
.github/workflows/helm-test.yaml
vendored
2
.github/workflows/helm-test.yaml
vendored
|
@ -7,6 +7,8 @@ on:
|
|||
- 'charts/kyverno/**'
|
||||
- '.github/workflows/helm-test.yaml'
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
helm-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue