Skip to content

Commit 0d0d7aa

Browse files
committed
conditional hold
1 parent d99e9e5 commit 0d0d7aa

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

.github/workflows/build-android.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
name: Upload Hold
5656
runs-on: ubuntu-latest
5757
needs: [build-android]
58+
if: ${{ inputs.trigger == 'pr' }}
5859
environment: upload_experimental_android
5960
steps:
6061
- run: echo "Waiting for manual approval..."

.github/workflows/build-ios.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
build-hold:
1616
name: Hold
1717
runs-on: ubuntu-latest
18+
if: ${{ inputs.trigger == 'pr' }}
1819
environment: experimental_ios_build
1920
steps:
2021
- run: echo "Waiting for manual approval..."

.github/workflows/build-official-android.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
build-hold:
1616
name: Hold
1717
runs-on: ubuntu-latest
18+
if: ${{ inputs.trigger == 'pr' }}
1819
environment: official_android_build
1920
steps:
2021
- run: echo "Waiting for manual approval..."
@@ -53,6 +54,7 @@ jobs:
5354
upload-hold:
5455
name: Upload Hold
5556
runs-on: ubuntu-latest
57+
if: ${{ inputs.trigger == 'pr' }}
5658
environment: upload_official_android
5759
needs: [build-android]
5860
steps:

.github/workflows/build-official-ios.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
build-hold:
1616
name: Hold
1717
runs-on: ubuntu-latest
18+
if: ${{ inputs.trigger == 'pr' }}
1819
environment: official_ios_build
1920
steps:
2021
- run: echo "Waiting for manual approval..."
@@ -54,6 +55,7 @@ jobs:
5455
upload-hold:
5556
name: Upload Hold
5657
runs-on: ubuntu-latest
58+
if: ${{ inputs.trigger == 'pr' }}
5759
environment: upload_official_ios
5860
needs: [build-ios]
5961
steps:

0 commit comments

Comments
 (0)