Skip to content

Commit b4bd17f

Browse files
committed
ci: key e2e concurrency on PR number so cross-event runs cancel each other
1 parent 20fe64b commit b4bd17f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/e2e-ios.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
types: [synchronize, ready_for_review]
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
# Key off the PR number (works across pull_request and pull_request_review
12+
# events). Falls back to ref for direct pushes / re-runs.
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.review.pull_request.number || github.ref }}
1214
cancel-in-progress: true
1315

1416
jobs:

0 commit comments

Comments
 (0)