diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 066246f87..deeea5e0d 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -6,6 +6,10 @@ on: - master workflow_dispatch: {} +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-latest