1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-15 20:20:22 +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:
Charles-Edouard Brétéché 2023-01-06 16:24:55 +01:00 committed by GitHub
parent 3ec7e50ee3
commit d56ea86146
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 38 additions and 8 deletions

View file

@ -17,6 +17,10 @@ on:
- 'README.md' - 'README.md'
- '.github/config.yml' - '.github/config.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -10,6 +10,10 @@ on:
- 'main' - 'main'
- 'release*' - 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -8,6 +8,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -1,4 +1,5 @@
name: helm-release name: helm-release
on: on:
push: push:
tags: tags:

View file

@ -9,6 +9,10 @@ on:
- charts/** - charts/**
- .github/workflows/helm-test.yaml - .github/workflows/helm-test.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
helm-tests: helm-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -5,15 +5,15 @@ on:
- 'main' - 'main'
- 'release*' - 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read
packages: write packages: write
id-token: write id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
pre-checks: pre-checks:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -5,15 +5,15 @@ on:
- 'main' - 'main'
- 'release*' - 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read
packages: write packages: write
id-token: write id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
push-init-kyverno: push-init-kyverno:
uses: ./.github/workflows/reuse.yaml uses: ./.github/workflows/reuse.yaml

View file

@ -6,6 +6,10 @@ on:
- 'main' - 'main'
- 'release*' - 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

View file

@ -1,4 +1,5 @@
name: releaser name: releaser
on: on:
push: push:
tags: tags:

View file

@ -7,6 +7,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
analysis: analysis:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

@ -6,6 +6,10 @@ on:
- 'main' - 'main'
- 'release*' - 'release*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read