diff --git a/.github/workflows/pre-commit-main.yml b/.github/workflows/pre-commit-main.yml index fccefa4..2c29780 100644 --- a/.github/workflows/pre-commit-main.yml +++ b/.github/workflows/pre-commit-main.yml @@ -4,6 +4,10 @@ on: push: branches: [main] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: pre-commit: runs-on: ubuntu-latest