From 2ccf6cb238da41231f2453a3bfc8ca6e2930afc8 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 10 Mar 2023 04:25:00 -0500 Subject: [PATCH] [ACA-4668] cancel previous jobs in the workflow (#3052) --- .github/workflows/pull-request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2ab63f628..f48b8ae95 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [master, develop] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + env: APP_CONFIG_ECM_HOST: ${{ secrets.PIPELINE_ENV_URL }} ADMIN_EMAIL: ${{ secrets.PIPELINE_ADMIN_USERNAME }}