From 00c35d1fe75638fcd4da6ef6717a996cde3da464 Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Fri, 11 Mar 2022 16:27:45 -0800 Subject: [PATCH 1/2] cancel running CI jobs when a PR is updated --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 579d55ebd..53111bac2 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 From cb43fff20808a5e8ddc7130f149274a27edd4657 Mon Sep 17 00:00:00 2001 From: Scott Vandehey Date: Fri, 11 Mar 2022 16:36:39 -0800 Subject: [PATCH 2/2] lint fix --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53111bac2..5163940dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,8 @@ on: - v-next concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: lint: