From e2415061b316525215f6283421adfe0b3813b75f Mon Sep 17 00:00:00 2001 From: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:28:00 -0400 Subject: [PATCH] chore: adding concurrency to new workflow --- .github/workflows/build_minimum_supported_swift_platforms.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_minimum_supported_swift_platforms.yml b/.github/workflows/build_minimum_supported_swift_platforms.yml index cb5da80fe6..0e0522a479 100644 --- a/.github/workflows/build_minimum_supported_swift_platforms.yml +++ b/.github/workflows/build_minimum_supported_swift_platforms.yml @@ -12,6 +12,10 @@ permissions: contents: read actions: write +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: ${{ github.ref_name != 'main'}} + jobs: build-amplify-with-minimum-supported-xcode: name: Build Amplify Swift for ${{ matrix.platform }}