]> source.dussan.org Git - jquery.git/commitdiff
Tests: include github ref in concurrency group
authorTimmy Willison <timmywil@users.noreply.github.com>
Thu, 25 Apr 2024 17:07:55 +0000 (13:07 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 17:07:55 +0000 (13:07 -0400)
- fixes cancelled workflows when multiple PRs are merged
  in quick succession to both the main and 3.x-stable branches

Close gh-5481

.github/workflows/browserstack.yml

index 45f976583d5305e8f24beb2726ddf5b057690783..1f06c98ba3dd2c8d6df2aecaf44ac87a146b958c 100644 (file)
@@ -15,7 +15,7 @@ jobs:
       NODE_VERSION: 20.x
     name: ${{ matrix.BROWSER }}
     concurrency:
-      group: ${{ github.workflow }} ${{ matrix.BROWSER }}
+      group: ${{ matrix.BROWSER }}-${{ github.ref }}
     timeout-minutes: 30
     strategy:
       fail-fast: false