From 16ddda41a7d31f8a63c86dc4be2a9861d4d31470 Mon Sep 17 00:00:00 2001 From: Mike Surowiec Date: Thu, 24 Feb 2022 20:46:13 -0600 Subject: [PATCH] update concurrency group to include PR number (#25630) --- .github/workflows/azure-preview-env-deploy.yml | 2 +- .github/workflows/azure-preview-env-destroy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/azure-preview-env-deploy.yml b/.github/workflows/azure-preview-env-deploy.yml index 3cd169742e0b..6813eb31326b 100644 --- a/.github/workflows/azure-preview-env-deploy.yml +++ b/.github/workflows/azure-preview-env-deploy.yml @@ -34,7 +34,7 @@ permissions: # This allows one deploy workflow to interrupt another concurrency: - group: 'preview-env @ ${{ github.head_ref || github.run_id }}' + group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}' cancel-in-progress: true jobs: diff --git a/.github/workflows/azure-preview-env-destroy.yml b/.github/workflows/azure-preview-env-destroy.yml index 1c8e1c8e32ef..fd148f892b0f 100644 --- a/.github/workflows/azure-preview-env-destroy.yml +++ b/.github/workflows/azure-preview-env-destroy.yml @@ -21,7 +21,7 @@ permissions: # This allows one deploy workflow to interrupt another concurrency: - group: 'preview-env @ ${{ github.head_ref || github.run_id }}' + group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}' cancel-in-progress: true jobs: