From 8a49e07b642a4085a2e4ad464aeb67bcedf4d1fb Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Sat, 20 Nov 2021 18:36:48 -0700 Subject: [PATCH] ci: fix concurrency group for push events --- .github/workflows/installer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index dd4d6ad..4366587 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -15,8 +15,8 @@ on: - '**' concurrency: - group: ${{ github.head_ref }} - cancel-in-progress: true + group: installer-${{ github.head_ref || github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: default: