From cdb84169fd02c9fc06514d542620c8d35e8122a5 Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Mon, 14 Mar 2022 13:47:52 -0700 Subject: [PATCH] cancel running CI jobs when a PR is updated (#1675) @see https://github.com/nodejs/node/pull/42017 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfeb5243f..09cda48f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,10 @@ on: - main - v-next +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: lint: runs-on: ubuntu-latest