mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fix: configure gh workflow permission (#5909)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
47bf261163
commit
24c98f4c40
6 changed files with 18 additions and 0 deletions
3
.github/workflows/cli.yaml
vendored
3
.github/workflows/cli.yaml
vendored
|
@ -17,6 +17,9 @@ on:
|
|||
- 'README.md'
|
||||
- '.github/config.yml'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
cli-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/codecov.yaml
vendored
3
.github/workflows/codecov.yaml
vendored
|
@ -10,6 +10,9 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
codecov:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/fossa.yml
vendored
3
.github/workflows/fossa.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/nancy.yaml
vendored
3
.github/workflows/nancy.yaml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
nancy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/sonarcloud.yaml
vendored
3
.github/workflows/sonarcloud.yaml
vendored
|
@ -6,6 +6,9 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
sonarcloud:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
3
.github/workflows/verify-codegen.yaml
vendored
3
.github/workflows/verify-codegen.yaml
vendored
|
@ -10,6 +10,9 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
verify-codegen:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue