From 5c77ac8abcaa6217c187eeb46fa47bad634d039b Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 11:41:54 +0200 Subject: [PATCH 1/7] testing token approach --- .github/workflows/remote-build-android.yml | 4 ++-- rnef.config.mjs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/remote-build-android.yml b/.github/workflows/remote-build-android.yml index 000e28531fb6..8a691ed13d98 100644 --- a/.github/workflows/remote-build-android.yml +++ b/.github/workflows/remote-build-android.yml @@ -39,10 +39,10 @@ jobs: # rnef v2 uses: callstackincubator/android@d9a81f860e436ff2971323990244e32830dcabd1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} IS_HYBRID_APP: ${{ matrix.is_hybrid_build }} with: variant: ${{ matrix.variant }} rnef-build-extra-params: '--extra-params -PreactNativeArchitectures=arm64-v8a,x86_64' comment-bot: false - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} diff --git a/rnef.config.mjs b/rnef.config.mjs index df6267b5d6fe..8538fb189aa9 100644 --- a/rnef.config.mjs +++ b/rnef.config.mjs @@ -8,8 +8,8 @@ const isHybrid = process.env.IS_HYBRID_APP === 'true'; /** @type {import('@rnef/config').Config} */ export default { remoteCacheProvider: providerGitHub({ - owner: 'Expensify', - repository: 'App', + owner: 'callstack-internal', + repository: 'Expensify-App', token: process.env.GITHUB_TOKEN, }), bundler: pluginMetro(), From 0ef26a159a40a6dce3a266e3981fdb8d50901a1b Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 11:45:40 +0200 Subject: [PATCH 2/7] remove hybrid token --- .github/workflows/remote-build-android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-build-android.yml b/.github/workflows/remote-build-android.yml index 8a691ed13d98..198b203aa3fa 100644 --- a/.github/workflows/remote-build-android.yml +++ b/.github/workflows/remote-build-android.yml @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: submodules: ${{ matrix.is_hybrid_build || false }} - token: ${{ secrets.OS_BOTIFY_TOKEN }} + # token: ${{ secrets.OS_BOTIFY_TOKEN }} - name: Setup Node uses: ./.github/actions/composite/setupNode From fdcc8d42b230a34e6c8b7b11af233d38c0ec68f4 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 11:49:41 +0200 Subject: [PATCH 3/7] remove token from env --- .github/workflows/remote-build-android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-build-android.yml b/.github/workflows/remote-build-android.yml index 198b203aa3fa..0b068d14ba06 100644 --- a/.github/workflows/remote-build-android.yml +++ b/.github/workflows/remote-build-android.yml @@ -39,7 +39,7 @@ jobs: # rnef v2 uses: callstackincubator/android@d9a81f860e436ff2971323990244e32830dcabd1 env: - GITHUB_TOKEN: ${{ github.token }} + # GITHUB_TOKEN: ${{ github.token }} IS_HYBRID_APP: ${{ matrix.is_hybrid_build }} with: variant: ${{ matrix.variant }} From d103ffc83ba330f130ef0e1a3abaffe709329672 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 11:56:55 +0200 Subject: [PATCH 4/7] test --- .github/workflows/remote-build-android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-build-android.yml b/.github/workflows/remote-build-android.yml index 0b068d14ba06..198b203aa3fa 100644 --- a/.github/workflows/remote-build-android.yml +++ b/.github/workflows/remote-build-android.yml @@ -39,7 +39,7 @@ jobs: # rnef v2 uses: callstackincubator/android@d9a81f860e436ff2971323990244e32830dcabd1 env: - # GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ github.token }} IS_HYBRID_APP: ${{ matrix.is_hybrid_build }} with: variant: ${{ matrix.variant }} From 7510858ca79cf1ded8eed54fb70e8ea7743676b6 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 22:08:53 +0200 Subject: [PATCH 5/7] test with no gh token --- .github/workflows/remote-build-android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-build-android.yml b/.github/workflows/remote-build-android.yml index 198b203aa3fa..a77171df3fa8 100644 --- a/.github/workflows/remote-build-android.yml +++ b/.github/workflows/remote-build-android.yml @@ -45,4 +45,4 @@ jobs: variant: ${{ matrix.variant }} rnef-build-extra-params: '--extra-params -PreactNativeArchitectures=arm64-v8a,x86_64' comment-bot: false - github-token: ${{ github.token }} + From 9a3679ad40620ca9631925ea9790ea361c710ee5 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 22:17:25 +0200 Subject: [PATCH 6/7] remove gh token for ios --- .github/workflows/remote-build-ios.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/remote-build-ios.yml b/.github/workflows/remote-build-ios.yml index 4b3f3561ebea..493e6c61a32a 100644 --- a/.github/workflows/remote-build-ios.yml +++ b/.github/workflows/remote-build-ios.yml @@ -47,5 +47,4 @@ jobs: destination: simulator scheme: ${{ matrix.scheme }} configuration: ${{ matrix.configuration }} - github-token: ${{ secrets.GITHUB_TOKEN }} comment-bot: false From 23b0ddc7afc3e6c20f0570f52121d1d593b4c9a5 Mon Sep 17 00:00:00 2001 From: Tomasz Lesniakiewicz Date: Thu, 7 Aug 2025 22:19:12 +0200 Subject: [PATCH 7/7] remove token for hybrid --- .github/workflows/remote-build-ios.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/remote-build-ios.yml b/.github/workflows/remote-build-ios.yml index 493e6c61a32a..fcc353e0066c 100644 --- a/.github/workflows/remote-build-ios.yml +++ b/.github/workflows/remote-build-ios.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 with: submodules: ${{ matrix.is_hybrid_build || false }} - token: ${{ secrets.OS_BOTIFY_TOKEN }} + # token: ${{ secrets.OS_BOTIFY_TOKEN }} - name: Setup Node uses: ./.github/actions/composite/setupNode