From d8489b6f1fdefa24ff0a4dfe693520d7f7b727c4 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 2 Mar 2022 16:04:27 +0530 Subject: [PATCH] chore: cancel old in-progress CI workflows (#13811) --- .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 }}