Skip to content

Commit

Permalink
Use default environment variables for GITHUB_OWNER and APP_REPO
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Feb 6, 2025
1 parent 528a734 commit 7f80b51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/libs/CONST.ts
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down

0 comments on commit 7f80b51

Please sign in to comment.