mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +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
.github/workflows
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -7,6 +7,8 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-checks:
|
pre-checks:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
2
.github/workflows/e2e.yaml
vendored
2
.github/workflows/e2e.yaml
vendored
|
@ -17,6 +17,8 @@ on:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '.github/config.yml'
|
- '.github/config.yml'
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2e-test:
|
e2e-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
2
.github/workflows/fossa.yml
vendored
2
.github/workflows/fossa.yml
vendored
|
@ -5,6 +5,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
2
.github/workflows/helm-release.yaml
vendored
2
.github/workflows/helm-release.yaml
vendored
|
@ -4,6 +4,8 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- 'helm-chart-v*'
|
- 'helm-chart-v*'
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
helm-tests:
|
helm-tests:
|
||||||
runs-on: ubuntu-latest
|
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/**'
|
- 'charts/kyverno/**'
|
||||||
- '.github/workflows/helm-test.yaml'
|
- '.github/workflows/helm-test.yaml'
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
helm-tests:
|
helm-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue