1
0
Fork 0
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:
Roee Landesman 2022-01-15 19:57:35 -08:00 committed by GitHub
parent 3e524b5586
commit 665d2022d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,8 @@ on:
branches:
- 'main'
permissions: read-all
jobs:
pre-checks:
runs-on: ubuntu-latest

View file

@ -17,6 +17,8 @@ on:
- 'docs/**'
- '.github/config.yml'
permissions: read-all
jobs:
e2e-test:
runs-on: ubuntu-latest

View file

@ -5,6 +5,8 @@ on:
pull_request:
branches: [master]
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest

View file

@ -4,6 +4,8 @@ on:
tags:
- 'helm-chart-v*'
permissions: read-all
jobs:
helm-tests:
runs-on: ubuntu-latest

View file

@ -7,6 +7,8 @@ on:
- 'charts/kyverno/**'
- '.github/workflows/helm-test.yaml'
permissions: read-all
jobs:
helm-tests:
runs-on: ubuntu-latest