Add concurrency group at the job level to ensure only one BrowserStack test runs per PR at a time, eliminating the double-run scenario

This commit is contained in:
zinduolis
2026-03-11 19:12:18 +10:00
parent 7f9035912f
commit e752574172
+3
View File
@@ -9,6 +9,9 @@ jobs:
ubuntu-job:
name: 'BrowserStack Test on Ubuntu'
runs-on: ubuntu-latest
concurrency:
group: browserstack-${{ github.event.pull_request.number }}
cancel-in-progress: true
if: |
github.event.label.name == 'safe_to_test' ||
github.event.pull_request.user.login == 'dependabot[bot]'