From f4275e542e5c89c518108827c9a58511d41943e9 Mon Sep 17 00:00:00 2001 From: Aakash Singh Date: Wed, 22 Nov 2023 09:21:02 +0530 Subject: [PATCH] add concurrency to deploy workflow cancel-in-progress runs (#6683) --- .github/workflows/deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 67628d414c8..3c9d6aa28cb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -11,6 +11,10 @@ on: - master workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: IMAGE_NAME: care_fe AWS_DEFAULT_REGION: ap-south-1