From 01ec1e79ff953cd32dd021a7eea23b32030f96a6 Mon Sep 17 00:00:00 2001 From: Ruslan Alikhamov Date: Tue, 23 Jan 2024 16:17:52 +0400 Subject: [PATCH] Cancel tests unless it was triggered by tag --- .github/workflows/test_macOS.yml | 2 +- .github/workflows/test_ubuntu.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_macOS.yml b/.github/workflows/test_macOS.yml index c86ca98cc..32cb81643 100644 --- a/.github/workflows/test_macOS.yml +++ b/.github/workflows/test_macOS.yml @@ -12,7 +12,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + cancel-in-progress: ${{ github.ref_type != 'tag' }} jobs: macos_build: diff --git a/.github/workflows/test_ubuntu.yml b/.github/workflows/test_ubuntu.yml index edf6a5005..626152be1 100644 --- a/.github/workflows/test_ubuntu.yml +++ b/.github/workflows/test_ubuntu.yml @@ -12,7 +12,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + cancel-in-progress: ${{ github.ref_type != 'tag' }} jobs: linux_build: