diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c6f169dcca..a6475749f9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -2,6 +2,10 @@ name: Check on: pull_request +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: validate-wrapper: runs-on: ubuntu-latest diff --git a/.github/workflows/dokka-examples.yml b/.github/workflows/dokka-examples.yml index f116777125..e8782c1c7b 100644 --- a/.github/workflows/dokka-examples.yml +++ b/.github/workflows/dokka-examples.yml @@ -2,6 +2,10 @@ name: Build examples on: pull_request +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: build: strategy: diff --git a/.github/workflows/gradle-test.pr.yml b/.github/workflows/gradle-test.pr.yml index 1a40239cf5..6a732dfcc9 100644 --- a/.github/workflows/gradle-test.pr.yml +++ b/.github/workflows/gradle-test.pr.yml @@ -2,6 +2,10 @@ name: Test on: pull_request +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: test-ubuntu: strategy: diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index b77719eaa9..2975c50496 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -7,6 +7,10 @@ on: branches: - master +concurrency: + group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' + cancel-in-progress: true + jobs: inspection: runs-on: ubuntu-latest