Skip to content

Commit 49ce573

Browse files
committed
chore: Align concurrency and branch rules
1 parent 8016ea5 commit 49ce573

File tree

4 files changed

+16
-12
lines changed

4 files changed

+16
-12
lines changed

.github/workflows/build-and-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: iOS SDK Build and Lint
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
45

56
concurrency:
67
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

.github/workflows/build-secondary-platforms.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Secondary Platforms iOS Build
22

3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
49

510
env:
611
XCODE_VERSION: "16.4"

.github/workflows/cross-platform-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Cross Platform Tests
22

33
on:
4-
# Run for all PRs
54
pull_request:
6-
# Run again once merged into development branch
7-
push:
8-
branches:
9-
- development
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
109

1110
env:
1211
XCODE_VERSION: "16.4"

.github/workflows/native-tests.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: Xcode Tests
22

33
on:
4-
# Run for all PRs
54
pull_request:
6-
# Run again once merged into development branch
7-
push:
8-
branches:
9-
- development
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
109

1110
env:
1211
XCODE_VERSION: "16.4"

0 commit comments

Comments
 (0)