|
8 | 8 | branches: |
9 | 9 | - 'develop' |
10 | 10 |
|
| 11 | +concurrency: |
| 12 | + group: ${{ github.workflow }}-${{ github.ref }} |
| 13 | + cancel-in-progress: true |
| 14 | + |
11 | 15 | jobs: |
12 | 16 | run-eslint-and-test: |
13 | 17 | name: ESLint and Test |
14 | 18 | if: ${{ github.repository == 'RocketChat/Rocket.Chat.ReactNative' }} |
15 | 19 | uses: ./.github/workflows/eslint.yml |
16 | 20 |
|
| 21 | + generate-changelog: |
| 22 | + name: Generate Release Changelog |
| 23 | + needs: [run-eslint-and-test] |
| 24 | + uses: ./.github/workflows/generate-changelog.yml |
| 25 | + |
17 | 26 | android-build-experimental-store: |
18 | 27 | name: Build Android Experimental |
19 | 28 | if: ${{ github.repository == 'RocketChat/Rocket.Chat.ReactNative' }} |
20 | 29 | uses: ./.github/workflows/build-android.yml |
21 | | - needs: [run-eslint-and-test] |
| 30 | + needs: [run-eslint-and-test, generate-changelog] |
22 | 31 | secrets: inherit |
23 | 32 | with: |
24 | 33 | type: experimental |
|
28 | 37 | name: Build Android Official |
29 | 38 | if: ${{ github.repository == 'RocketChat/Rocket.Chat.ReactNative' }} |
30 | 39 | uses: ./.github/workflows/build-official-android.yml |
31 | | - needs: [run-eslint-and-test] |
| 40 | + needs: [run-eslint-and-test, generate-changelog] |
32 | 41 | secrets: inherit |
33 | 42 | with: |
34 | 43 | type: official |
|
38 | 47 | name: Build iOS Experimental |
39 | 48 | if: ${{ github.repository == 'RocketChat/Rocket.Chat.ReactNative' }} |
40 | 49 | uses: ./.github/workflows/build-ios.yml |
41 | | - needs: [run-eslint-and-test] |
| 50 | + needs: [run-eslint-and-test, generate-changelog] |
42 | 51 | secrets: inherit |
43 | 52 | with: |
44 | 53 | type: experimental |
|
48 | 57 | name: Build iOS Official |
49 | 58 | if: ${{ github.repository == 'RocketChat/Rocket.Chat.ReactNative' }} |
50 | 59 | uses: ./.github/workflows/build-official-ios.yml |
51 | | - needs: [run-eslint-and-test] |
| 60 | + needs: [run-eslint-and-test, generate-changelog] |
52 | 61 | secrets: inherit |
53 | 62 | with: |
54 | 63 | type: official |
|
0 commit comments