mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: reduce jobs run on push (#11080)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
12edb6d405
commit
a6b32bcca5
11 changed files with 20 additions and 38 deletions
7
.github/workflows/check-actions.yaml
vendored
7
.github/workflows/check-actions.yaml
vendored
|
@ -5,13 +5,10 @@ name: Check actions
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
|
8
.github/workflows/cli.yaml
vendored
8
.github/workflows/cli.yaml
vendored
|
@ -5,14 +5,10 @@ name: cli
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
3
.github/workflows/codecov.yaml
vendored
3
.github/workflows/codecov.yaml
vendored
|
@ -5,9 +5,6 @@ name: Codecov
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
|
|
5
.github/workflows/images-build.yaml
vendored
5
.github/workflows/images-build.yaml
vendored
|
@ -5,9 +5,10 @@ name: Build images
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
4
.github/workflows/images-publish.yaml
vendored
4
.github/workflows/images-publish.yaml
vendored
|
@ -7,8 +7,8 @@ permissions: {}
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
7
.github/workflows/lint.yaml
vendored
7
.github/workflows/lint.yaml
vendored
|
@ -5,13 +5,10 @@ name: Lint
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
4
.github/workflows/pr-update.yaml
vendored
4
.github/workflows/pr-update.yaml
vendored
|
@ -7,8 +7,8 @@ permissions: {}
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release-*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
jobs:
|
||||
autoupdate:
|
||||
|
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -7,7 +7,7 @@ permissions: {}
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
release-images:
|
||||
|
|
4
.github/workflows/sonarcloud.yaml
vendored
4
.github/workflows/sonarcloud.yaml
vendored
|
@ -7,8 +7,8 @@ permissions: {}
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
7
.github/workflows/tests.yaml
vendored
7
.github/workflows/tests.yaml
vendored
|
@ -5,13 +5,10 @@ name: Tests
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
7
.github/workflows/verify-codegen.yaml
vendored
7
.github/workflows/verify-codegen.yaml
vendored
|
@ -5,13 +5,10 @@ name: Verify codegen
|
|||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
- 'release*'
|
||||
- main
|
||||
- release-*
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
Loading…
Reference in a new issue