diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80518cf..a1dc282 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: Lint and test on: push +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: build-and-lint: runs-on: ubuntu-latest