diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01caefa77..452e396d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,6 +7,10 @@ on: types: [opened, reopened, synchronize, edited] branches: [main] +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-latest