mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +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: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
|
|
8
.github/workflows/cli.yaml
vendored
8
.github/workflows/cli.yaml
vendored
|
@ -5,14 +5,10 @@ name: cli
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
- 'release*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
3
.github/workflows/codecov.yaml
vendored
3
.github/workflows/codecov.yaml
vendored
|
@ -5,9 +5,6 @@ name: Codecov
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
5
.github/workflows/images-build.yaml
vendored
5
.github/workflows/images-build.yaml
vendored
|
@ -5,9 +5,10 @@ name: Build images
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- main
|
||||||
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
7
.github/workflows/lint.yaml
vendored
7
.github/workflows/lint.yaml
vendored
|
@ -5,13 +5,10 @@ name: Lint
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release-*'
|
- release-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
autoupdate:
|
autoupdate:
|
||||||
|
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -7,7 +7,7 @@ permissions: {}
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-images:
|
release-images:
|
||||||
|
|
4
.github/workflows/sonarcloud.yaml
vendored
4
.github/workflows/sonarcloud.yaml
vendored
|
@ -7,8 +7,8 @@ permissions: {}
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
7
.github/workflows/tests.yaml
vendored
7
.github/workflows/tests.yaml
vendored
|
@ -5,13 +5,10 @@ name: Tests
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
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: {}
|
permissions: {}
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '*'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- main
|
||||||
- 'release*'
|
- release-*
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
Loading…
Reference in a new issue