diff --git a/.github/workflows/code-checker.yaml b/.github/workflows/code-checker.yaml index 1794f1b862ed4..0b55d7533e781 100644 --- a/.github/workflows/code-checker.yaml +++ b/.github/workflows/code-checker.yaml @@ -27,6 +27,10 @@ on: - .golangci.yml - rules.go +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: ubuntu: name: Code Checker AMD64 Ubuntu 20.04 diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 196c7edabca27..28332eec17104 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -24,6 +24,10 @@ on: - go.mod - go.sum +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: mac: name: Code Checker MacOS 12 diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 59ce1bd4a0eae..325fb64da249a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -35,6 +35,10 @@ on: - '!**.md' - '!build/ci/jenkins/**' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: Build: name: Build and test AMD64 Ubuntu ${{ matrix.ubuntu }} diff --git a/.github/workflows/publish-builder.yaml b/.github/workflows/publish-builder.yaml index 722c0fd35e5c3..377efcdb23cd8 100644 --- a/.github/workflows/publish-builder.yaml +++ b/.github/workflows/publish-builder.yaml @@ -16,6 +16,10 @@ on: - '.github/workflows/publish-builder.yaml' - '!**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: publish-builder: name: ${{ matrix.arch }} ${{ matrix.os }} diff --git a/.github/workflows/publish-gpu-builder.yaml b/.github/workflows/publish-gpu-builder.yaml index c8d6f72309373..6e0ca62fad3c3 100644 --- a/.github/workflows/publish-gpu-builder.yaml +++ b/.github/workflows/publish-gpu-builder.yaml @@ -16,6 +16,10 @@ on: - '.github/workflows/publish-gpu-builder.yaml' - '!**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: publish-gpu-builder: name: ${{ matrix.arch }} ${{ matrix.os }} diff --git a/.github/workflows/publish-krte-images.yaml b/.github/workflows/publish-krte-images.yaml index ba4881b653fef..4fe3e6af7c24f 100644 --- a/.github/workflows/publish-krte-images.yaml +++ b/.github/workflows/publish-krte-images.yaml @@ -17,6 +17,10 @@ on: - '.github/workflows/publish-krte-images.yaml' - '!**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: publish-krte-images: name: KRTE diff --git a/.github/workflows/publish-test-images.yaml b/.github/workflows/publish-test-images.yaml index fd6e5ccf84768..df8614821ae1a 100644 --- a/.github/workflows/publish-test-images.yaml +++ b/.github/workflows/publish-test-images.yaml @@ -18,6 +18,10 @@ on: - '.github/workflows/publish-test-images.yaml' - '!**.md' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: publish-pytest-images: name: PyTest