Skip to content

Commit 10170e6

Browse files
Merge pull request #271 from CodeForPhilly/use-head_ref-for-concurrency-key
fix(ci): use head_ref for perview workflows concurrency key
2 parents 610b934 + 0192529 commit 10170e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ develop ]
99

1010
concurrency:
11-
group: preview-${{ github.ref }}
11+
group: preview-${{ github.head_ref }}
1212
cancel-in-progress: true
1313

1414
permissions:

.github/workflows/preview-destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [ closed ]
77

88
concurrency:
9-
group: preview-${{ github.ref }}
9+
group: preview-${{ github.head_ref }}
1010
cancel-in-progress: true
1111

1212
permissions:

0 commit comments

Comments
 (0)