From 2e7f0bcfe878c11a5a614bd3698b1155602cdb99 Mon Sep 17 00:00:00 2001 From: Kody Jackson Date: Wed, 18 Sep 2024 12:27:52 -0500 Subject: [PATCH] Apply suggestions from code review --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0527344169f27..1a9a3a27d77df4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,8 +1,8 @@ on: [push, workflow_dispatch] concurrency: - group: ${{ github.head_ref || github.run_id }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ !contains(github.ref, 'production')}} jobs: publish: