Skip to content

Commit 16ddda4

Browse files
authored
update concurrency group to include PR number (#25630)
1 parent 6a6dafa commit 16ddda4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ permissions:
3434

3535
# This allows one deploy workflow to interrupt another
3636
concurrency:
37-
group: 'preview-env @ ${{ github.head_ref || github.run_id }}'
37+
group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}'
3838
cancel-in-progress: true
3939

4040
jobs:

.github/workflows/azure-preview-env-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
# This allows one deploy workflow to interrupt another
2323
concurrency:
24-
group: 'preview-env @ ${{ github.head_ref || github.run_id }}'
24+
group: 'preview-env @ ${{ github.head_ref || github.run_id }} for ${{ github.event.number || github.event.inputs.PR_NUMBER }}'
2525
cancel-in-progress: true
2626

2727
jobs:

0 commit comments

Comments
 (0)