Skip to content

Commit 05c2085

Browse files
committed
Merge branch 'main' into update-mobile-test-drive-for-better-scroll
2 parents 2787ed4 + 3bdf375 commit 05c2085

File tree

1,011 files changed

+32987
-13915
lines changed

Some content is hidden

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

1,011 files changed

+32987
-13915
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ const restrictedImportPaths = [
100100
name: 'react-native-animatable',
101101
message: "Please use 'react-native-reanimated' instead.",
102102
},
103+
{
104+
name: 'react-native-onyx',
105+
importNames: ['useOnyx'],
106+
message: "Please use '@hooks/useOnyx' instead.",
107+
},
103108
];
104109

105110
const restrictedImportPatterns = [

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

Lines changed: 134 additions & 20 deletions
Large diffs are not rendered by default.

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

Lines changed: 134 additions & 20 deletions
Large diffs are not rendered by default.

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

Lines changed: 134 additions & 20 deletions
Large diffs are not rendered by default.

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

Lines changed: 134 additions & 20 deletions
Large diffs are not rendered by default.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'Check Test Coverage'
2+
description: 'A simple action that takes a GitHub URL and prints it'
3+
inputs:
4+
GITHUB_URL:
5+
description: 'GitHub repository URL to check'
6+
required: true
7+
8+
runs:
9+
using: 'node20'
10+
main: './index.js'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const core = require('@actions/core');
2+
3+
async function run() {
4+
try {
5+
// Get the GitHub URL input
6+
const githubUrl = core.getInput('GITHUB_URL');
7+
8+
// Print the URL
9+
console.log(`GitHub URL: ${githubUrl}`);
10+
core.info(`GitHub URL: ${githubUrl}`);
11+
12+
} catch (error) {
13+
core.setFailed(error.message);
14+
}
15+
}
16+
17+
run();

.github/actions/javascript/createOrUpdateStagingDeploy/createOrUpdateStagingDeploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function run(): Promise<IssuesCreateResponse | void> {
5555
const currentChecklistData: StagingDeployCashData | undefined = shouldCreateNewDeployChecklist ? undefined : GithubUtils.getStagingDeployCashData(mostRecentChecklist);
5656

5757
// Find the list of PRs merged between the current checklist and the previous checklist
58-
const mergedPRs = await GitUtils.getPullRequestsMergedBetween(previousChecklistData.tag, newStagingTag);
58+
const mergedPRs = await GitUtils.getPullRequestsDeployedBetween(previousChecklistData.tag, newStagingTag);
5959

6060
// Next, we generate the checklist body
6161
let checklistBody = '';

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

Lines changed: 180 additions & 29 deletions
Large diffs are not rendered by default.

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

Lines changed: 134 additions & 20 deletions
Large diffs are not rendered by default.

.github/actions/javascript/getDeployPullRequestList/getDeployPullRequestList.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async function run() {
6060
}
6161

6262
console.log(`Looking for PRs deployed to ${deployEnv} between ${priorTag} and ${inputTag}`);
63-
const prList = await GitUtils.getPullRequestsMergedBetween(priorTag, inputTag);
63+
const prList = await GitUtils.getPullRequestsDeployedBetween(priorTag, inputTag);
6464
console.log('Found the pull request list: ', prList);
6565
core.setOutput('PR_LIST', prList);
6666
} catch (error) {

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

Lines changed: 180 additions & 29 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)