From 0192529bb2f82d5096d46fb10334d578246b6215 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Sun, 2 Apr 2023 20:11:45 -0400 Subject: [PATCH] fix(ci): use head_ref for perview workflows concurrency key --- .github/workflows/preview-deploy.yml | 2 +- .github/workflows/preview-destroy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index f4fe9af6..989ae09a 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -8,7 +8,7 @@ on: branches: [ develop ] concurrency: - group: preview-${{ github.ref }} + group: preview-${{ github.head_ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/preview-destroy.yml b/.github/workflows/preview-destroy.yml index 7981ee77..b0be558b 100644 --- a/.github/workflows/preview-destroy.yml +++ b/.github/workflows/preview-destroy.yml @@ -6,7 +6,7 @@ on: types: [ closed ] concurrency: - group: preview-${{ github.ref }} + group: preview-${{ github.head_ref }} cancel-in-progress: true permissions: