Skip to content

Commit dd1a15d

Browse files
committed
Merge branch 'main' into paulnjs-fix/72403
2 parents c350db1 + 8ebf129 commit dd1a15d

472 files changed

Lines changed: 10524 additions & 5025 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/javascript/authorChecklist/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15540,12 +15540,10 @@ exports["default"] = newComponentCategory;
1554015540

1554115541
Object.defineProperty(exports, "__esModule", ({ value: true }));
1554215542
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
15543-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1554415543
const GIT_CONST = {
1554515544
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
15546-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
15545+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1554715546
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
15548-
DEFAULT_BASE_REF: 'main',
1554915547
};
1555015548
const CONST = {
1555115549
...GIT_CONST,
@@ -16129,7 +16127,7 @@ class GithubUtils {
1612916127
/**
1613016128
* Get the contents of a file from the API at a given ref as a string.
1613116129
*/
16132-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
16130+
static async getFileContents(path, ref = 'main') {
1613316131
const { data } = await this.octokit.repos.getContent({
1613416132
owner: CONST_1.default.GITHUB_OWNER,
1613516133
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12344,12 +12344,10 @@ function convertToNumber(value) {
1234412344

1234512345
Object.defineProperty(exports, "__esModule", ({ value: true }));
1234612346
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
12347-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1234812347
const GIT_CONST = {
1234912348
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
12350-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
12349+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1235112350
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
12352-
DEFAULT_BASE_REF: 'main',
1235312351
};
1235412352
const CONST = {
1235512353
...GIT_CONST,
@@ -12933,7 +12931,7 @@ class GithubUtils {
1293312931
/**
1293412932
* Get the contents of a file from the API at a given ref as a string.
1293512933
*/
12936-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12934+
static async getFileContents(path, ref = 'main') {
1293712935
const { data } = await this.octokit.repos.getContent({
1293812936
owner: CONST_1.default.GITHUB_OWNER,
1293912937
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/checkAndroidStatus/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737087,12 +737087,10 @@ checkAndroidStatus()
737087737087

737088737088
Object.defineProperty(exports, "__esModule", ({ value: true }));
737089737089
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
737090-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
737091737090
const GIT_CONST = {
737092737091
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
737093-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
737092+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
737094737093
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
737095-
DEFAULT_BASE_REF: 'main',
737096737094
};
737097737095
const CONST = {
737098737096
...GIT_CONST,
@@ -737676,7 +737674,7 @@ class GithubUtils {
737676737674
/**
737677737675
* Get the contents of a file from the API at a given ref as a string.
737678737676
*/
737679-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
737677+
static async getFileContents(path, ref = 'main') {
737680737678
const { data } = await this.octokit.repos.getContent({
737681737679
owner: CONST_1.default.GITHUB_OWNER,
737682737680
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/checkDeployBlockers/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11611,12 +11611,10 @@ exports["default"] = run;
1161111611

1161211612
Object.defineProperty(exports, "__esModule", ({ value: true }));
1161311613
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11614-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1161511614
const GIT_CONST = {
1161611615
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11617-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11616+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1161811617
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11619-
DEFAULT_BASE_REF: 'main',
1162011618
};
1162111619
const CONST = {
1162211620
...GIT_CONST,
@@ -12200,7 +12198,7 @@ class GithubUtils {
1220012198
/**
1220112199
* Get the contents of a file from the API at a given ref as a string.
1220212200
*/
12203-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12201+
static async getFileContents(path, ref = 'main') {
1220412202
const { data } = await this.octokit.repos.getContent({
1220512203
owner: CONST_1.default.GITHUB_OWNER,
1220612204
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/checkSVGCompression/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20136,12 +20136,10 @@ exports["default"] = run;
2013620136

2013720137
Object.defineProperty(exports, "__esModule", ({ value: true }));
2013820138
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
20139-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
2014020139
const GIT_CONST = {
2014120140
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
20142-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
20141+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
2014320142
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
20144-
DEFAULT_BASE_REF: 'main',
2014520143
};
2014620144
const CONST = {
2014720145
...GIT_CONST,
@@ -20725,7 +20723,7 @@ class GithubUtils {
2072520723
/**
2072620724
* Get the contents of a file from the API at a given ref as a string.
2072720725
*/
20728-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
20726+
static async getFileContents(path, ref = 'main') {
2072920727
const { data } = await this.octokit.repos.getContent({
2073020728
owner: CONST_1.default.GITHUB_OWNER,
2073120729
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/createOrUpdateStagingDeploy/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11739,12 +11739,10 @@ exports["default"] = run;
1173911739

1174011740
Object.defineProperty(exports, "__esModule", ({ value: true }));
1174111741
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11742-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1174311742
const GIT_CONST = {
1174411743
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11745-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11744+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1174611745
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11747-
DEFAULT_BASE_REF: 'main',
1174811746
};
1174911747
const CONST = {
1175011748
...GIT_CONST,
@@ -12487,7 +12485,7 @@ class GithubUtils {
1248712485
/**
1248812486
* Get the contents of a file from the API at a given ref as a string.
1248912487
*/
12490-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12488+
static async getFileContents(path, ref = 'main') {
1249112489
const { data } = await this.octokit.repos.getContent({
1249212490
owner: CONST_1.default.GITHUB_OWNER,
1249312491
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/getArtifactInfo/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11572,12 +11572,10 @@ exports["default"] = run;
1157211572

1157311573
Object.defineProperty(exports, "__esModule", ({ value: true }));
1157411574
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11575-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1157611575
const GIT_CONST = {
1157711576
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11578-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11577+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1157911578
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11580-
DEFAULT_BASE_REF: 'main',
1158111579
};
1158211580
const CONST = {
1158311581
...GIT_CONST,
@@ -12161,7 +12159,7 @@ class GithubUtils {
1216112159
/**
1216212160
* Get the contents of a file from the API at a given ref as a string.
1216312161
*/
12164-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12162+
static async getFileContents(path, ref = 'main') {
1216512163
const { data } = await this.octokit.repos.getContent({
1216612164
owner: CONST_1.default.GITHUB_OWNER,
1216712165
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/getDeployPullRequestList/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11758,12 +11758,10 @@ function convertToNumber(value) {
1175811758

1175911759
Object.defineProperty(exports, "__esModule", ({ value: true }));
1176011760
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11761-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1176211761
const GIT_CONST = {
1176311762
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11764-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11763+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1176511764
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11766-
DEFAULT_BASE_REF: 'main',
1176711765
};
1176811766
const CONST = {
1176911767
...GIT_CONST,
@@ -12506,7 +12504,7 @@ class GithubUtils {
1250612504
/**
1250712505
* Get the contents of a file from the API at a given ref as a string.
1250812506
*/
12509-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12507+
static async getFileContents(path, ref = 'main') {
1251012508
const { data } = await this.octokit.repos.getContent({
1251112509
owner: CONST_1.default.GITHUB_OWNER,
1251212510
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/getPreviousVersion/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11569,12 +11569,10 @@ exports["default"] = run;
1156911569

1157011570
Object.defineProperty(exports, "__esModule", ({ value: true }));
1157111571
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11572-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1157311572
const GIT_CONST = {
1157411573
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11575-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11574+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1157611575
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11577-
DEFAULT_BASE_REF: 'main',
1157811576
};
1157911577
const CONST = {
1158011578
...GIT_CONST,
@@ -12317,7 +12315,7 @@ class GithubUtils {
1231712315
/**
1231812316
* Get the contents of a file from the API at a given ref as a string.
1231912317
*/
12320-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12318+
static async getFileContents(path, ref = 'main') {
1232112319
const { data } = await this.octokit.repos.getContent({
1232212320
owner: CONST_1.default.GITHUB_OWNER,
1232312321
repo: CONST_1.default.APP_REPO,

.github/actions/javascript/getPullRequestDetails/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11701,12 +11701,10 @@ function convertToNumber(value) {
1170111701

1170211702
Object.defineProperty(exports, "__esModule", ({ value: true }));
1170311703
const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)');
11704-
const DEFAULT_REPO_IDENTIFIER = 'Expensify/App';
1170511704
const GIT_CONST = {
1170611705
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER ?? 'Expensify',
11707-
APP_REPO: (process.env.GITHUB_REPOSITORY ?? DEFAULT_REPO_IDENTIFIER).split('/').at(1) ?? '',
11706+
APP_REPO: (process.env.GITHUB_REPOSITORY ?? 'Expensify/App').split('/').at(1) ?? '',
1170811707
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
11709-
DEFAULT_BASE_REF: 'main',
1171011708
};
1171111709
const CONST = {
1171211710
...GIT_CONST,
@@ -12290,7 +12288,7 @@ class GithubUtils {
1229012288
/**
1229112289
* Get the contents of a file from the API at a given ref as a string.
1229212290
*/
12293-
static async getFileContents(path, ref = CONST_1.default.DEFAULT_BASE_REF) {
12291+
static async getFileContents(path, ref = 'main') {
1229412292
const { data } = await this.octokit.repos.getContent({
1229512293
owner: CONST_1.default.GITHUB_OWNER,
1229612294
repo: CONST_1.default.APP_REPO,

0 commit comments

Comments
 (0)