Skip to content

Commit 56197f1

Browse files
committed
Apply concurrency control to swift-package-test, cancelling previously running workflows of the same kind
1 parent 6f3e0c5 commit 56197f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/swift_package_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ on:
6565
description: "Boolean to enable providing the GITHUB_TOKEN to downstream job."
6666
default: false
6767

68+
## We are cancelling previously triggered workflow runs
69+
concurrency:
70+
group: ${{ github.workflow }}-${{ github.ref }}-package-test
71+
cancel-in-progress: true
72+
6873
jobs:
6974
linux-build:
7075
name: Linux (${{ matrix.swift_version }} - ${{ matrix.os_version }})

0 commit comments

Comments
 (0)