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 = {