File tree Expand file tree Collapse file tree
createOrUpdateStagingDeploy
getPullRequestIncrementalChanges
markPullRequestsAsDeployed
src/components/SelectionListWithSections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15540,10 +15540,12 @@ exports["default"] = newComponentCategory;
1554015540
1554115541Object.defineProperty(exports, "__esModule", ({ value: true }));
1554215542const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
15543+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1554315544const GIT_CONST = {
1554415545 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
15545- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
15546+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1554615547 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
15548+ DEFAULT_BASE_REF: 'main',
1554715549};
1554815550const CONST = {
1554915551 ...GIT_CONST,
@@ -16127,7 +16129,7 @@ class GithubUtils {
1612716129 /**
1612816130 * Get the contents of a file from the API at a given ref as a string.
1612916131 */
16130- static async getFileContents(path, ref = 'main' ) {
16132+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1613116133 const { data } = await this.octokit.repos.getContent({
1613216134 owner: CONST_1.default.GITHUB_OWNER,
1613316135 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -12344,10 +12344,12 @@ function convertToNumber(value) {
1234412344
1234512345Object.defineProperty(exports, "__esModule", ({ value: true }));
1234612346const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
12347+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1234712348const GIT_CONST = {
1234812349 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
12349- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
12350+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1235012351 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
12352+ DEFAULT_BASE_REF: 'main',
1235112353};
1235212354const CONST = {
1235312355 ...GIT_CONST,
@@ -12931,7 +12933,7 @@ class GithubUtils {
1293112933 /**
1293212934 * Get the contents of a file from the API at a given ref as a string.
1293312935 */
12934- static async getFileContents(path, ref = 'main' ) {
12936+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1293512937 const { data } = await this.octokit.repos.getContent({
1293612938 owner: CONST_1.default.GITHUB_OWNER,
1293712939 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -737087,10 +737087,12 @@ checkAndroidStatus()
737087737087
737088737088Object.defineProperty(exports, "__esModule", ({ value: true }));
737089737089const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
737090+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
737090737091const GIT_CONST = {
737091737092 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
737092- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
737093+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
737093737094 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
737095+ DEFAULT_BASE_REF: 'main',
737094737096};
737095737097const CONST = {
737096737098 ...GIT_CONST,
@@ -737674,7 +737676,7 @@ class GithubUtils {
737674737676 /**
737675737677 * Get the contents of a file from the API at a given ref as a string.
737676737678 */
737677- static async getFileContents(path, ref = 'main' ) {
737679+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
737678737680 const { data } = await this.octokit.repos.getContent({
737679737681 owner: CONST_1.default.GITHUB_OWNER,
737680737682 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11611,10 +11611,12 @@ exports["default"] = run;
1161111611
1161211612Object.defineProperty(exports, "__esModule", ({ value: true }));
1161311613const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11614+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1161411615const GIT_CONST = {
1161511616 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11616- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11617+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1161711618 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11619+ DEFAULT_BASE_REF: 'main',
1161811620};
1161911621const CONST = {
1162011622 ...GIT_CONST,
@@ -12198,7 +12200,7 @@ class GithubUtils {
1219812200 /**
1219912201 * Get the contents of a file from the API at a given ref as a string.
1220012202 */
12201- static async getFileContents(path, ref = 'main' ) {
12203+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1220212204 const { data } = await this.octokit.repos.getContent({
1220312205 owner: CONST_1.default.GITHUB_OWNER,
1220412206 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -20136,10 +20136,12 @@ exports["default"] = run;
2013620136
2013720137Object.defineProperty(exports, "__esModule", ({ value: true }));
2013820138const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
20139+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
2013920140const GIT_CONST = {
2014020141 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
20141- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
20142+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
2014220143 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
20144+ DEFAULT_BASE_REF: 'main',
2014320145};
2014420146const CONST = {
2014520147 ...GIT_CONST,
@@ -20723,7 +20725,7 @@ class GithubUtils {
2072320725 /**
2072420726 * Get the contents of a file from the API at a given ref as a string.
2072520727 */
20726- static async getFileContents(path, ref = 'main' ) {
20728+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
2072720729 const { data } = await this.octokit.repos.getContent({
2072820730 owner: CONST_1.default.GITHUB_OWNER,
2072920731 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11739,10 +11739,12 @@ exports["default"] = run;
1173911739
1174011740Object.defineProperty(exports, "__esModule", ({ value: true }));
1174111741const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11742+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1174211743const GIT_CONST = {
1174311744 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11744- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11745+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1174511746 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11747+ DEFAULT_BASE_REF: 'main',
1174611748};
1174711749const CONST = {
1174811750 ...GIT_CONST,
@@ -12485,7 +12487,7 @@ class GithubUtils {
1248512487 /**
1248612488 * Get the contents of a file from the API at a given ref as a string.
1248712489 */
12488- static async getFileContents(path, ref = 'main' ) {
12490+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1248912491 const { data } = await this.octokit.repos.getContent({
1249012492 owner: CONST_1.default.GITHUB_OWNER,
1249112493 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11572,10 +11572,12 @@ exports["default"] = run;
1157211572
1157311573Object.defineProperty(exports, "__esModule", ({ value: true }));
1157411574const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11575+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1157511576const GIT_CONST = {
1157611577 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11577- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11578+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1157811579 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11580+ DEFAULT_BASE_REF: 'main',
1157911581};
1158011582const CONST = {
1158111583 ...GIT_CONST,
@@ -12159,7 +12161,7 @@ class GithubUtils {
1215912161 /**
1216012162 * Get the contents of a file from the API at a given ref as a string.
1216112163 */
12162- static async getFileContents(path, ref = 'main' ) {
12164+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1216312165 const { data } = await this.octokit.repos.getContent({
1216412166 owner: CONST_1.default.GITHUB_OWNER,
1216512167 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11758,10 +11758,12 @@ function convertToNumber(value) {
1175811758
1175911759Object.defineProperty(exports, "__esModule", ({ value: true }));
1176011760const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11761+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1176111762const GIT_CONST = {
1176211763 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11763- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11764+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1176411765 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11766+ DEFAULT_BASE_REF: 'main',
1176511767};
1176611768const CONST = {
1176711769 ...GIT_CONST,
@@ -12504,7 +12506,7 @@ class GithubUtils {
1250412506 /**
1250512507 * Get the contents of a file from the API at a given ref as a string.
1250612508 */
12507- static async getFileContents(path, ref = 'main' ) {
12509+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1250812510 const { data } = await this.octokit.repos.getContent({
1250912511 owner: CONST_1.default.GITHUB_OWNER,
1251012512 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11569,10 +11569,12 @@ exports["default"] = run;
1156911569
1157011570Object.defineProperty(exports, "__esModule", ({ value: true }));
1157111571const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11572+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1157211573const GIT_CONST = {
1157311574 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11574- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11575+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1157511576 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11577+ DEFAULT_BASE_REF: 'main',
1157611578};
1157711579const CONST = {
1157811580 ...GIT_CONST,
@@ -12315,7 +12317,7 @@ class GithubUtils {
1231512317 /**
1231612318 * Get the contents of a file from the API at a given ref as a string.
1231712319 */
12318- static async getFileContents(path, ref = 'main' ) {
12320+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1231912321 const { data } = await this.octokit.repos.getContent({
1232012322 owner: CONST_1.default.GITHUB_OWNER,
1232112323 repo: CONST_1.default.APP_REPO,
Original file line number Diff line number Diff line change @@ -11701,10 +11701,12 @@ function convertToNumber(value) {
1170111701
1170211702Object.defineProperty(exports, "__esModule", ({ value: true }));
1170311703const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11704+ const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1170411705const GIT_CONST = {
1170511706 GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11706- APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App' ).split('/').at(1) ?? '',
11707+ APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER ).split('/').at(1) ?? '',
1170711708 MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11709+ DEFAULT_BASE_REF: 'main',
1170811710};
1170911711const CONST = {
1171011712 ...GIT_CONST,
@@ -12288,7 +12290,7 @@ class GithubUtils {
1228812290 /**
1228912291 * Get the contents of a file from the API at a given ref as a string.
1229012292 */
12291- static async getFileContents(path, ref = 'main' ) {
12293+ static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF ) {
1229212294 const { data } = await this.octokit.repos.getContent({
1229312295 owner: CONST_1.default.GITHUB_OWNER,
1229412296 repo: CONST_1.default.APP_REPO,
You can’t perform that action at this time.
0 commit comments