From 8037e7ae558d1ebf4670d6f4434e7c5c84c2a7d5 Mon Sep 17 00:00:00 2001 From: Yaroslav Grishajev Date: Mon, 15 Apr 2024 11:04:22 +0200 Subject: [PATCH] ci: cancels tests and release-ts concurrent workflows --- .github/workflows/release-ts.yaml | 4 ++++ .github/workflows/tests.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/release-ts.yaml b/.github/workflows/release-ts.yaml index e272854f..df65e4bc 100644 --- a/.github/workflows/release-ts.yaml +++ b/.github/workflows/release-ts.yaml @@ -4,6 +4,10 @@ on: branches: - main +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: release: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 79d4e798..f68d86eb 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -5,6 +5,10 @@ on: branches: - main +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest