Skip to content

Commit 9975b27

Browse files
authored
Merge pull request #53809 from software-mansion-labs/enable-adhoc-hybrid-build-from-arbitrary-commit
[No QA] Allow to build adhoc hybrid app from any OD commit
2 parents c79478e + 300ccd3 commit 9975b27

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/testBuildHybrid.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ on:
66
PULL_REQUEST_NUMBER:
77
description: Pull Request number for correct placement of apps
88
required: true
9+
OLD_DOT_COMMIT:
10+
description: The branch, tag or SHA to checkout on Old Dot side
11+
required: false
12+
default: 'main'
913
pull_request_target:
1014
types: [opened, synchronize, labeled]
1115
branches: ['*ci-test/**']
1216

1317
env:
1418
PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }}
19+
OLD_DOT_COMMIT: ${{ github.event.inputs.OLD_DOT_COMMIT }}
1520

1621
jobs:
1722
validateActor:
@@ -94,6 +99,7 @@ jobs:
9499
repository: 'Expensify/Mobile-Expensify'
95100
submodules: true
96101
path: 'Mobile-Expensify'
102+
ref: ${{ env.OLD_DOT_COMMIT }}
97103
token: ${{ secrets.OS_BOTIFY_TOKEN }}
98104
# fetch-depth: 0 is required in order to fetch the correct submodule branch
99105
fetch-depth: 0

0 commit comments

Comments
 (0)