mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: add missing gh workflow concurrency statements (#5914)
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
3ec7e50ee3
commit
d56ea86146
11 changed files with 38 additions and 8 deletions
4
.github/workflows/cli.yaml
vendored
4
.github/workflows/cli.yaml
vendored
|
@ -17,6 +17,10 @@ on:
|
|||
- 'README.md'
|
||||
- '.github/config.yml'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
4
.github/workflows/codecov.yaml
vendored
4
.github/workflows/codecov.yaml
vendored
|
@ -10,6 +10,10 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
4
.github/workflows/fossa.yml
vendored
4
.github/workflows/fossa.yml
vendored
|
@ -8,6 +8,10 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
1
.github/workflows/helm-release.yaml
vendored
1
.github/workflows/helm-release.yaml
vendored
|
@ -1,4 +1,5 @@
|
|||
name: helm-release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
|
4
.github/workflows/helm-test.yaml
vendored
4
.github/workflows/helm-test.yaml
vendored
|
@ -9,6 +9,10 @@ on:
|
|||
- charts/**
|
||||
- .github/workflows/helm-test.yaml
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
helm-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
8
.github/workflows/image-build.yaml
vendored
8
.github/workflows/image-build.yaml
vendored
|
@ -5,15 +5,15 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
pre-checks:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
8
.github/workflows/image.yaml
vendored
8
.github/workflows/image.yaml
vendored
|
@ -5,15 +5,15 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
push-init-kyverno:
|
||||
uses: ./.github/workflows/reuse.yaml
|
||||
|
|
4
.github/workflows/nancy.yaml
vendored
4
.github/workflows/nancy.yaml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
|
@ -1,4 +1,5 @@
|
|||
name: releaser
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
|
4
.github/workflows/scorecard.yaml
vendored
4
.github/workflows/scorecard.yaml
vendored
|
@ -7,6 +7,10 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
4
.github/workflows/sonarcloud.yaml
vendored
4
.github/workflows/sonarcloud.yaml
vendored
|
@ -6,6 +6,10 @@ on:
|
|||
- 'main'
|
||||
- 'release*'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
|
Loading…
Reference in a new issue