Skip to content

Commit d053d72

Browse files
committed
Merge branch 'main' into fix/66037
2 parents 98d79c8 + 4ae92b7 commit d053d72

677 files changed

Lines changed: 46362 additions & 14723 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.

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ module.exports = {
237237
'react-native-a11y/has-accessibility-hint': ['off'],
238238
'react/require-default-props': 'off',
239239
'react/prop-types': 'off',
240+
'react/jsx-key': 'error',
240241
'react/jsx-no-constructed-context-values': 'error',
241242
'react-native-a11y/has-valid-accessibility-descriptors': [
242243
'error',

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15574,6 +15574,21 @@ const CONST = {
1557415574
EVENTS: {
1557515575
ISSUE_COMMENT: 'issue_comment',
1557615576
},
15577+
RUN_EVENT: {
15578+
PULL_REQUEST: 'pull_request',
15579+
PULL_REQUEST_TARGET: 'pull_request_target',
15580+
PUSH: 'push',
15581+
},
15582+
RUN_STATUS: {
15583+
COMPLETED: 'completed',
15584+
IN_PROGRESS: 'in_progress',
15585+
QUEUED: 'queued',
15586+
},
15587+
RUN_STATUS_CONCLUSION: {
15588+
SUCCESS: 'success',
15589+
},
15590+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
15591+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1557715592
PROPOSAL_KEYWORD: 'Proposal',
1557815593
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1557915594
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -15983,6 +15998,17 @@ class GithubUtils {
1598315998
})
1598415999
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1598516000
}
16001+
/**
16002+
* List workflow runs for the repository.
16003+
*/
16004+
static async listWorkflowRunsForRepo(options = {}) {
16005+
return this.octokit.actions.listWorkflowRunsForRepo({
16006+
owner: CONST_1.default.GITHUB_OWNER,
16007+
repo: CONST_1.default.APP_REPO,
16008+
per_page: options.per_page ?? 50,
16009+
...(options.status && { status: options.status }),
16010+
});
16011+
}
1598616012
/**
1598716013
* Generate the URL of an New Expensify pull request given the PR number.
1598816014
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12365,6 +12365,21 @@ const CONST = {
1236512365
EVENTS: {
1236612366
ISSUE_COMMENT: 'issue_comment',
1236712367
},
12368+
RUN_EVENT: {
12369+
PULL_REQUEST: 'pull_request',
12370+
PULL_REQUEST_TARGET: 'pull_request_target',
12371+
PUSH: 'push',
12372+
},
12373+
RUN_STATUS: {
12374+
COMPLETED: 'completed',
12375+
IN_PROGRESS: 'in_progress',
12376+
QUEUED: 'queued',
12377+
},
12378+
RUN_STATUS_CONCLUSION: {
12379+
SUCCESS: 'success',
12380+
},
12381+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
12382+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1236812383
PROPOSAL_KEYWORD: 'Proposal',
1236912384
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1237012385
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12774,6 +12789,17 @@ class GithubUtils {
1277412789
})
1277512790
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1277612791
}
12792+
/**
12793+
* List workflow runs for the repository.
12794+
*/
12795+
static async listWorkflowRunsForRepo(options = {}) {
12796+
return this.octokit.actions.listWorkflowRunsForRepo({
12797+
owner: CONST_1.default.GITHUB_OWNER,
12798+
repo: CONST_1.default.APP_REPO,
12799+
per_page: options.per_page ?? 50,
12800+
...(options.status && { status: options.status }),
12801+
});
12802+
}
1277712803
/**
1277812804
* Generate the URL of an New Expensify pull request given the PR number.
1277912805
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737067,6 +737067,21 @@ const CONST = {
737067737067
EVENTS: {
737068737068
ISSUE_COMMENT: 'issue_comment',
737069737069
},
737070+
RUN_EVENT: {
737071+
PULL_REQUEST: 'pull_request',
737072+
PULL_REQUEST_TARGET: 'pull_request_target',
737073+
PUSH: 'push',
737074+
},
737075+
RUN_STATUS: {
737076+
COMPLETED: 'completed',
737077+
IN_PROGRESS: 'in_progress',
737078+
QUEUED: 'queued',
737079+
},
737080+
RUN_STATUS_CONCLUSION: {
737081+
SUCCESS: 'success',
737082+
},
737083+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
737084+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
737070737085
PROPOSAL_KEYWORD: 'Proposal',
737071737086
DATE_FORMAT_STRING: 'yyyy-MM-dd',
737072737087
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -737476,6 +737491,17 @@ class GithubUtils {
737476737491
})
737477737492
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
737478737493
}
737494+
/**
737495+
* List workflow runs for the repository.
737496+
*/
737497+
static async listWorkflowRunsForRepo(options = {}) {
737498+
return this.octokit.actions.listWorkflowRunsForRepo({
737499+
owner: CONST_1.default.GITHUB_OWNER,
737500+
repo: CONST_1.default.APP_REPO,
737501+
per_page: options.per_page ?? 50,
737502+
...(options.status && { status: options.status }),
737503+
});
737504+
}
737479737505
/**
737480737506
* Generate the URL of an New Expensify pull request given the PR number.
737481737507
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11631,6 +11631,21 @@ const CONST = {
1163111631
EVENTS: {
1163211632
ISSUE_COMMENT: 'issue_comment',
1163311633
},
11634+
RUN_EVENT: {
11635+
PULL_REQUEST: 'pull_request',
11636+
PULL_REQUEST_TARGET: 'pull_request_target',
11637+
PUSH: 'push',
11638+
},
11639+
RUN_STATUS: {
11640+
COMPLETED: 'completed',
11641+
IN_PROGRESS: 'in_progress',
11642+
QUEUED: 'queued',
11643+
},
11644+
RUN_STATUS_CONCLUSION: {
11645+
SUCCESS: 'success',
11646+
},
11647+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11648+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1163411649
PROPOSAL_KEYWORD: 'Proposal',
1163511650
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1163611651
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12040,6 +12055,17 @@ class GithubUtils {
1204012055
})
1204112056
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1204212057
}
12058+
/**
12059+
* List workflow runs for the repository.
12060+
*/
12061+
static async listWorkflowRunsForRepo(options = {}) {
12062+
return this.octokit.actions.listWorkflowRunsForRepo({
12063+
owner: CONST_1.default.GITHUB_OWNER,
12064+
repo: CONST_1.default.APP_REPO,
12065+
per_page: options.per_page ?? 50,
12066+
...(options.status && { status: options.status }),
12067+
});
12068+
}
1204312069
/**
1204412070
* Generate the URL of an New Expensify pull request given the PR number.
1204512071
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11713,6 +11713,21 @@ const CONST = {
1171311713
EVENTS: {
1171411714
ISSUE_COMMENT: 'issue_comment',
1171511715
},
11716+
RUN_EVENT: {
11717+
PULL_REQUEST: 'pull_request',
11718+
PULL_REQUEST_TARGET: 'pull_request_target',
11719+
PUSH: 'push',
11720+
},
11721+
RUN_STATUS: {
11722+
COMPLETED: 'completed',
11723+
IN_PROGRESS: 'in_progress',
11724+
QUEUED: 'queued',
11725+
},
11726+
RUN_STATUS_CONCLUSION: {
11727+
SUCCESS: 'success',
11728+
},
11729+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11730+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1171611731
PROPOSAL_KEYWORD: 'Proposal',
1171711732
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1171811733
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12359,6 +12374,17 @@ class GithubUtils {
1235912374
})
1236012375
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1236112376
}
12377+
/**
12378+
* List workflow runs for the repository.
12379+
*/
12380+
static async listWorkflowRunsForRepo(options = {}) {
12381+
return this.octokit.actions.listWorkflowRunsForRepo({
12382+
owner: CONST_1.default.GITHUB_OWNER,
12383+
repo: CONST_1.default.APP_REPO,
12384+
per_page: options.per_page ?? 50,
12385+
...(options.status && { status: options.status }),
12386+
});
12387+
}
1236212388
/**
1236312389
* Generate the URL of an New Expensify pull request given the PR number.
1236412390
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11592,6 +11592,21 @@ const CONST = {
1159211592
EVENTS: {
1159311593
ISSUE_COMMENT: 'issue_comment',
1159411594
},
11595+
RUN_EVENT: {
11596+
PULL_REQUEST: 'pull_request',
11597+
PULL_REQUEST_TARGET: 'pull_request_target',
11598+
PUSH: 'push',
11599+
},
11600+
RUN_STATUS: {
11601+
COMPLETED: 'completed',
11602+
IN_PROGRESS: 'in_progress',
11603+
QUEUED: 'queued',
11604+
},
11605+
RUN_STATUS_CONCLUSION: {
11606+
SUCCESS: 'success',
11607+
},
11608+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11609+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1159511610
PROPOSAL_KEYWORD: 'Proposal',
1159611611
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1159711612
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12001,6 +12016,17 @@ class GithubUtils {
1200112016
})
1200212017
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1200312018
}
12019+
/**
12020+
* List workflow runs for the repository.
12021+
*/
12022+
static async listWorkflowRunsForRepo(options = {}) {
12023+
return this.octokit.actions.listWorkflowRunsForRepo({
12024+
owner: CONST_1.default.GITHUB_OWNER,
12025+
repo: CONST_1.default.APP_REPO,
12026+
per_page: options.per_page ?? 50,
12027+
...(options.status && { status: options.status }),
12028+
});
12029+
}
1200412030
/**
1200512031
* Generate the URL of an New Expensify pull request given the PR number.
1200612032
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11751,6 +11751,21 @@ const CONST = {
1175111751
EVENTS: {
1175211752
ISSUE_COMMENT: 'issue_comment',
1175311753
},
11754+
RUN_EVENT: {
11755+
PULL_REQUEST: 'pull_request',
11756+
PULL_REQUEST_TARGET: 'pull_request_target',
11757+
PUSH: 'push',
11758+
},
11759+
RUN_STATUS: {
11760+
COMPLETED: 'completed',
11761+
IN_PROGRESS: 'in_progress',
11762+
QUEUED: 'queued',
11763+
},
11764+
RUN_STATUS_CONCLUSION: {
11765+
SUCCESS: 'success',
11766+
},
11767+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11768+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1175411769
PROPOSAL_KEYWORD: 'Proposal',
1175511770
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1175611771
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12397,6 +12412,17 @@ class GithubUtils {
1239712412
})
1239812413
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1239912414
}
12415+
/**
12416+
* List workflow runs for the repository.
12417+
*/
12418+
static async listWorkflowRunsForRepo(options = {}) {
12419+
return this.octokit.actions.listWorkflowRunsForRepo({
12420+
owner: CONST_1.default.GITHUB_OWNER,
12421+
repo: CONST_1.default.APP_REPO,
12422+
per_page: options.per_page ?? 50,
12423+
...(options.status && { status: options.status }),
12424+
});
12425+
}
1240012426
/**
1240112427
* Generate the URL of an New Expensify pull request given the PR number.
1240212428
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11589,6 +11589,21 @@ const CONST = {
1158911589
EVENTS: {
1159011590
ISSUE_COMMENT: 'issue_comment',
1159111591
},
11592+
RUN_EVENT: {
11593+
PULL_REQUEST: 'pull_request',
11594+
PULL_REQUEST_TARGET: 'pull_request_target',
11595+
PUSH: 'push',
11596+
},
11597+
RUN_STATUS: {
11598+
COMPLETED: 'completed',
11599+
IN_PROGRESS: 'in_progress',
11600+
QUEUED: 'queued',
11601+
},
11602+
RUN_STATUS_CONCLUSION: {
11603+
SUCCESS: 'success',
11604+
},
11605+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11606+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1159211607
PROPOSAL_KEYWORD: 'Proposal',
1159311608
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1159411609
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12235,6 +12250,17 @@ class GithubUtils {
1223512250
})
1223612251
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1223712252
}
12253+
/**
12254+
* List workflow runs for the repository.
12255+
*/
12256+
static async listWorkflowRunsForRepo(options = {}) {
12257+
return this.octokit.actions.listWorkflowRunsForRepo({
12258+
owner: CONST_1.default.GITHUB_OWNER,
12259+
repo: CONST_1.default.APP_REPO,
12260+
per_page: options.per_page ?? 50,
12261+
...(options.status && { status: options.status }),
12262+
});
12263+
}
1223812264
/**
1223912265
* Generate the URL of an New Expensify pull request given the PR number.
1224012266
*/

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11712,6 +11712,21 @@ const CONST = {
1171211712
EVENTS: {
1171311713
ISSUE_COMMENT: 'issue_comment',
1171411714
},
11715+
RUN_EVENT: {
11716+
PULL_REQUEST: 'pull_request',
11717+
PULL_REQUEST_TARGET: 'pull_request_target',
11718+
PUSH: 'push',
11719+
},
11720+
RUN_STATUS: {
11721+
COMPLETED: 'completed',
11722+
IN_PROGRESS: 'in_progress',
11723+
QUEUED: 'queued',
11724+
},
11725+
RUN_STATUS_CONCLUSION: {
11726+
SUCCESS: 'success',
11727+
},
11728+
TEST_WORKFLOW_NAME: 'Jest Unit Tests',
11729+
TEST_WORKFLOW_PATH: '.github/workflows/test.yml',
1171511730
PROPOSAL_KEYWORD: 'Proposal',
1171611731
DATE_FORMAT_STRING: 'yyyy-MM-dd',
1171711732
PULL_REQUEST_REGEX: new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`),
@@ -12121,6 +12136,17 @@ class GithubUtils {
1212112136
})
1212212137
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1212312138
}
12139+
/**
12140+
* List workflow runs for the repository.
12141+
*/
12142+
static async listWorkflowRunsForRepo(options = {}) {
12143+
return this.octokit.actions.listWorkflowRunsForRepo({
12144+
owner: CONST_1.default.GITHUB_OWNER,
12145+
repo: CONST_1.default.APP_REPO,
12146+
per_page: options.per_page ?? 50,
12147+
...(options.status && { status: options.status }),
12148+
});
12149+
}
1212412150
/**
1212512151
* Generate the URL of an New Expensify pull request given the PR number.
1212612152
*/

0 commit comments

Comments
 (0)