diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40483cbe73..ec4063a557 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,11 @@ on: branches: - master types: [opened, synchronize, closed] + +concurrency: + group: build-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: tests: if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true))