From 7f80b51c49a5f340400845bc5d97137e24c20a3e Mon Sep 17 00:00:00 2001 From: rory Date: Thu, 6 Feb 2025 15:43:07 -0800 Subject: [PATCH] Use default environment variables for GITHUB_OWNER and APP_REPO --- .github/libs/CONST.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/libs/CONST.ts b/.github/libs/CONST.ts index 0fa32bc31ded..50fa269069c5 100644 --- a/.github/libs/CONST.ts +++ b/.github/libs/CONST.ts @@ -1,8 +1,9 @@ const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)'); const GIT_CONST = { - GITHUB_OWNER: 'Expensify', - APP_REPO: 'App', + GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER, + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + APP_REPO: process.env.GITHUB_REPOSITORY_OWNER.split('/').at(1)!, } as const; const CONST = {