diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27609ff..573c5b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,11 @@ name: CI on: [push] +# Automatically cancel previous runs for the same ref (i.e. branch) +concurrency: + group: ${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest