Skip to content

Commit 030562f

Browse files
committed
Merge branch 'main' into fix/66625-expense-deleted-on-OD-cause-blank-report
2 parents edbf0e9 + a4b094a commit 030562f

253 files changed

Lines changed: 29522 additions & 1492 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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15983,6 +15983,17 @@ class GithubUtils {
1598315983
})
1598415984
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1598515985
}
15986+
/**
15987+
* List workflow runs for the repository.
15988+
*/
15989+
static async listWorkflowRunsForRepo(options = {}) {
15990+
return this.octokit.actions.listWorkflowRunsForRepo({
15991+
owner: CONST_1.default.GITHUB_OWNER,
15992+
repo: CONST_1.default.APP_REPO,
15993+
per_page: options.per_page ?? 50,
15994+
...(options.status && { status: options.status }),
15995+
});
15996+
}
1598615997
/**
1598715998
* Generate the URL of an New Expensify pull request given the PR number.
1598815999
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12774,6 +12774,17 @@ class GithubUtils {
1277412774
})
1277512775
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1277612776
}
12777+
/**
12778+
* List workflow runs for the repository.
12779+
*/
12780+
static async listWorkflowRunsForRepo(options = {}) {
12781+
return this.octokit.actions.listWorkflowRunsForRepo({
12782+
owner: CONST_1.default.GITHUB_OWNER,
12783+
repo: CONST_1.default.APP_REPO,
12784+
per_page: options.per_page ?? 50,
12785+
...(options.status && { status: options.status }),
12786+
});
12787+
}
1277712788
/**
1277812789
* Generate the URL of an New Expensify pull request given the PR number.
1277912790
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737476,6 +737476,17 @@ class GithubUtils {
737476737476
})
737477737477
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
737478737478
}
737479+
/**
737480+
* List workflow runs for the repository.
737481+
*/
737482+
static async listWorkflowRunsForRepo(options = {}) {
737483+
return this.octokit.actions.listWorkflowRunsForRepo({
737484+
owner: CONST_1.default.GITHUB_OWNER,
737485+
repo: CONST_1.default.APP_REPO,
737486+
per_page: options.per_page ?? 50,
737487+
...(options.status && { status: options.status }),
737488+
});
737489+
}
737479737490
/**
737480737491
* Generate the URL of an New Expensify pull request given the PR number.
737481737492
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12040,6 +12040,17 @@ class GithubUtils {
1204012040
})
1204112041
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1204212042
}
12043+
/**
12044+
* List workflow runs for the repository.
12045+
*/
12046+
static async listWorkflowRunsForRepo(options = {}) {
12047+
return this.octokit.actions.listWorkflowRunsForRepo({
12048+
owner: CONST_1.default.GITHUB_OWNER,
12049+
repo: CONST_1.default.APP_REPO,
12050+
per_page: options.per_page ?? 50,
12051+
...(options.status && { status: options.status }),
12052+
});
12053+
}
1204312054
/**
1204412055
* Generate the URL of an New Expensify pull request given the PR number.
1204512056
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12359,6 +12359,17 @@ class GithubUtils {
1235912359
})
1236012360
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1236112361
}
12362+
/**
12363+
* List workflow runs for the repository.
12364+
*/
12365+
static async listWorkflowRunsForRepo(options = {}) {
12366+
return this.octokit.actions.listWorkflowRunsForRepo({
12367+
owner: CONST_1.default.GITHUB_OWNER,
12368+
repo: CONST_1.default.APP_REPO,
12369+
per_page: options.per_page ?? 50,
12370+
...(options.status && { status: options.status }),
12371+
});
12372+
}
1236212373
/**
1236312374
* Generate the URL of an New Expensify pull request given the PR number.
1236412375
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12001,6 +12001,17 @@ class GithubUtils {
1200112001
})
1200212002
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1200312003
}
12004+
/**
12005+
* List workflow runs for the repository.
12006+
*/
12007+
static async listWorkflowRunsForRepo(options = {}) {
12008+
return this.octokit.actions.listWorkflowRunsForRepo({
12009+
owner: CONST_1.default.GITHUB_OWNER,
12010+
repo: CONST_1.default.APP_REPO,
12011+
per_page: options.per_page ?? 50,
12012+
...(options.status && { status: options.status }),
12013+
});
12014+
}
1200412015
/**
1200512016
* Generate the URL of an New Expensify pull request given the PR number.
1200612017
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12397,6 +12397,17 @@ class GithubUtils {
1239712397
})
1239812398
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1239912399
}
12400+
/**
12401+
* List workflow runs for the repository.
12402+
*/
12403+
static async listWorkflowRunsForRepo(options = {}) {
12404+
return this.octokit.actions.listWorkflowRunsForRepo({
12405+
owner: CONST_1.default.GITHUB_OWNER,
12406+
repo: CONST_1.default.APP_REPO,
12407+
per_page: options.per_page ?? 50,
12408+
...(options.status && { status: options.status }),
12409+
});
12410+
}
1240012411
/**
1240112412
* Generate the URL of an New Expensify pull request given the PR number.
1240212413
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12235,6 +12235,17 @@ class GithubUtils {
1223512235
})
1223612236
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1223712237
}
12238+
/**
12239+
* List workflow runs for the repository.
12240+
*/
12241+
static async listWorkflowRunsForRepo(options = {}) {
12242+
return this.octokit.actions.listWorkflowRunsForRepo({
12243+
owner: CONST_1.default.GITHUB_OWNER,
12244+
repo: CONST_1.default.APP_REPO,
12245+
per_page: options.per_page ?? 50,
12246+
...(options.status && { status: options.status }),
12247+
});
12248+
}
1223812249
/**
1223912250
* Generate the URL of an New Expensify pull request given the PR number.
1224012251
*/

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12121,6 +12121,17 @@ class GithubUtils {
1212112121
})
1212212122
.then((response) => response.data.workflow_runs.at(0)?.id ?? -1);
1212312123
}
12124+
/**
12125+
* List workflow runs for the repository.
12126+
*/
12127+
static async listWorkflowRunsForRepo(options = {}) {
12128+
return this.octokit.actions.listWorkflowRunsForRepo({
12129+
owner: CONST_1.default.GITHUB_OWNER,
12130+
repo: CONST_1.default.APP_REPO,
12131+
per_page: options.per_page ?? 50,
12132+
...(options.status && { status: options.status }),
12133+
});
12134+
}
1212412135
/**
1212512136
* Generate the URL of an New Expensify pull request given the PR number.
1212612137
*/

0 commit comments

Comments
 (0)