From 42b87a3c7eacdc1746ce2d2730e11c18fd5e382a Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 2 Mar 2022 08:57:09 +0530 Subject: [PATCH] chore: cancel old in-progress CI workflows --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 961c6515a6403..8fbd002266563 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: ci on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{ matrix.job }} ${{ matrix.profile }} ${{ matrix.os }}