diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f73e99d9a3..1ceee00d021 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,10 @@ on: default: false type: boolean +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: test: name: Node.js ${{ matrix.node-version }}