diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b6b33b..98fd7d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,11 @@ defaults: run: shell: bash +# Cancel running actions when a new action on the same PR is started +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: cabal: name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}