diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 961c6515a6403..8fbd002266563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: ci on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{ matrix.job }} ${{ matrix.profile }} ${{ matrix.os }}