From 8151a1e9b5183e0a920180f63bee26c140ec8468 Mon Sep 17 00:00:00 2001 From: ttozzi Date: Fri, 4 Apr 2025 20:06:11 +0900 Subject: [PATCH] Apply concurrency control to swift-package-test, cancelling previously running workflows of the same kind --- .github/workflows/swift_package_test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/swift_package_test.yml b/.github/workflows/swift_package_test.yml index 697b733f..c301728b 100644 --- a/.github/workflows/swift_package_test.yml +++ b/.github/workflows/swift_package_test.yml @@ -65,6 +65,11 @@ on: description: "Boolean to enable providing the GITHUB_TOKEN to downstream job." default: false +## We are cancelling previously triggered workflow runs +concurrency: + group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}-package-test + cancel-in-progress: true + jobs: linux-build: name: Linux (${{ matrix.swift_version }} - ${{ matrix.os_version }})