Skip to content

Commit 4ccd647

Browse files
committed
fix: fix canceling in-progress workflows
1 parent 5b8e972 commit 4ccd647

File tree

1 file changed

+4
-8
lines changed
  • packages/create-react-native-library/templates/common/$.github/workflows

1 file changed

+4
-8
lines changed

packages/create-react-native-library/templates/common/$.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
types:
1111
- checks_requested
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
lint:
1519
runs-on: ubuntu-latest
@@ -55,10 +59,6 @@ jobs:
5559

5660
<% if (project.native) { -%>
5761
build-android:
58-
concurrency:
59-
group: ${{ github.workflow }}-${{ github.ref }}
60-
cancel-in-progress: true
61-
6262
runs-on: ubuntu-latest
6363

6464
env:
@@ -122,10 +122,6 @@ jobs:
122122
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
123123
124124
build-ios:
125-
concurrency:
126-
group: ${{ github.workflow }}-${{ github.ref }}
127-
cancel-in-progress: true
128-
129125
runs-on: macos-latest
130126

131127
env:

0 commit comments

Comments
 (0)