From 300ccd3aac5b6b51fa537d6662fff8ce88288884 Mon Sep 17 00:00:00 2001 From: Jan Nowakowski Date: Tue, 10 Dec 2024 08:36:02 +0100 Subject: [PATCH] Allow to build adhoc hybrid app from any OD commit --- .github/workflows/testBuildHybrid.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/testBuildHybrid.yml b/.github/workflows/testBuildHybrid.yml index c84fe41fddae..1e79bceb403a 100644 --- a/.github/workflows/testBuildHybrid.yml +++ b/.github/workflows/testBuildHybrid.yml @@ -6,12 +6,17 @@ on: PULL_REQUEST_NUMBER: description: Pull Request number for correct placement of apps required: true + OLD_DOT_COMMIT: + description: The branch, tag or SHA to checkout on Old Dot side + required: false + default: 'main' pull_request_target: types: [opened, synchronize, labeled] branches: ['*ci-test/**'] env: PULL_REQUEST_NUMBER: ${{ github.event.number || github.event.inputs.PULL_REQUEST_NUMBER }} + OLD_DOT_COMMIT: ${{ github.event.inputs.OLD_DOT_COMMIT }} jobs: validateActor: @@ -94,6 +99,7 @@ jobs: repository: 'Expensify/Mobile-Expensify' submodules: true path: 'Mobile-Expensify' + ref: ${{ env.OLD_DOT_COMMIT }} token: ${{ secrets.OS_BOTIFY_TOKEN }} # fetch-depth: 0 is required in order to fetch the correct submodule branch fetch-depth: 0