mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
update workflow configurations to fix CI failure (#3060)
Signed-off-by: ShutingZhao <shuting@nirmata.com>
This commit is contained in:
parent
f7f4828dcd
commit
c479b41d34
5 changed files with 16 additions and 3 deletions
.github/workflows
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -3,11 +3,16 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
pre-checks:
|
||||
|
|
5
.github/workflows/helm-release.yaml
vendored
5
.github/workflows/helm-release.yaml
vendored
|
@ -4,7 +4,10 @@ on:
|
|||
tags:
|
||||
- 'helm-chart-v*'
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
helm-tests:
|
||||
|
|
1
.github/workflows/helm-test.yaml
vendored
1
.github/workflows/helm-test.yaml
vendored
|
@ -3,6 +3,7 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
paths:
|
||||
- 'charts/kyverno/**'
|
||||
- '.github/workflows/helm-test.yaml'
|
||||
|
|
1
.github/workflows/image.yaml
vendored
1
.github/workflows/image.yaml
vendored
|
@ -3,6 +3,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
|
@ -4,7 +4,10 @@ on:
|
|||
tags:
|
||||
- 'v*'
|
||||
|
||||
permissions: read-all
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
release-init-kyverno:
|
||||
|
|
Loading…
Add table
Reference in a new issue