From e03f88c93a1142a59fffb6a9f0638f49c7874a57 Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Mon, 28 Oct 2024 10:53:04 -0600 Subject: [PATCH 1/2] Add checkout of `App` repo to `createNewHybridVersion` because we need a shared workflow --- .github/workflows/createNewVersion.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/createNewVersion.yml b/.github/workflows/createNewVersion.yml index 04ce28792724f..b654387b7be68 100644 --- a/.github/workflows/createNewVersion.yml +++ b/.github/workflows/createNewVersion.yml @@ -117,6 +117,14 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} + - name: Check out + uses: actions/checkout@v4 + with: + ref: main + # The OS_BOTIFY_COMMIT_TOKEN is a personal access token tied to osbotify + # This is a workaround to allow pushes to a protected branch + token: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }} + - name: Checkout uses: actions/checkout@v4 with: From e7dce54bb14fb53cc6a4fbb2f8618ac0b56f1aab Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Mon, 28 Oct 2024 10:56:53 -0600 Subject: [PATCH 2/2] Add better name --- .github/workflows/createNewVersion.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/createNewVersion.yml b/.github/workflows/createNewVersion.yml index b654387b7be68..09b315e6a0c2e 100644 --- a/.github/workflows/createNewVersion.yml +++ b/.github/workflows/createNewVersion.yml @@ -117,7 +117,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} - - name: Check out + - name: Check out `App` repo uses: actions/checkout@v4 with: ref: main @@ -125,7 +125,7 @@ jobs: # This is a workaround to allow pushes to a protected branch token: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }} - - name: Checkout + - name: Check out `Mobile-Expensify` repo uses: actions/checkout@v4 with: repository: 'Expensify/Mobile-Expensify'