Searched refs:pullRequest (Results 1 – 11 of 11) sorted by relevance
| /expo/tools/src/code-review/reviewers/ |
| H A D | reviewChangelogEntries.ts | 10 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput> { 54 body: generateSuggestion(pullRequest, change), 86 function generateSuggestion(pullRequest: PullRequest, change: parseDiff.Change) { 87 const prLink = markdownLink('#' + pullRequest.number, pullRequest.html_url); 88 const userLink = markdownLink('@' + pullRequest.user!.login, pullRequest.user!.html_url);
|
| H A D | reviewForbiddenFiles.ts | 14 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 15 if (!pullRequest.head) { 16 logger.warn('Detached PR, we cannot asses the state of files!', pullRequest); 21 pullRequest.head.sha, 47 return `- ${linkToFile(pullRequest.head, file.path)}\n - ${logs.join('\n - ')}`;
|
| H A D | checkMissingChangelogs.ts | 15 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 16 if (!pullRequest.head) { 17 logger.warn('Detached PR, we cannot asses the needed changelog entries!', pullRequest); 41 .map((pkg) => `- ${relativeChangelogPath(pullRequest.head, pkg)}`)
|
| H A D | lintSwiftFiles.ts | 13 export default async function ({ pullRequest, diff }: ReviewInput): Promise<ReviewOutput | null> { 28 const newFileContent = await Git.readFileAsync(pullRequest.head.sha, fileDiff.to!);
|
| /expo/tools/src/publish-packages/tasks/ |
| H A D | commentOnIssuesTask.ts | 100 for (const pullRequest of allPullRequests) { constant 102 if (!closedIssuesRegistry[pullRequest]) { 103 closedIssuesRegistry[pullRequest] = await getClosedIssuesAsync(pullRequest); 105 const closedIssues = closedIssuesRegistry[pullRequest]; constant 119 existingRowForPackage.pullRequests.push(pullRequest); 124 pullRequests: [pullRequest],
|
| H A D | addPublishedLabelToPullRequests.ts | 64 const pullRequest = await GitHub.getPullRequestAsync(pullRequestId, true); 65 const hasLabel = pullRequest.labels.some((label) => label.name === PUBLISHED_LABEL_NAME); 68 pullRequests.push(pullRequest); 89 for (const pullRequest of pullRequestsToLabel) { constant 90 await GitHub.addIssueLabelsAsync(pullRequest.number, [PUBLISHED_LABEL_NAME]);
|
| /expo/tools/src/commands/ |
| H A D | AddChangelog.ts | 16 pullRequest: number[] | true; 43 if (options.pullRequest === true) { 121 if (!options.author.length || !options.entry || !options.type || options.pullRequest === true) { 144 pullRequests: options.pullRequest,
|
| /expo/tools/src/code-review/ |
| H A D | types.ts | 54 pullRequest: PullRequest;
|
| H A D | index.ts | 77 pullRequest: pr,
|
| /expo/tools/src/ |
| H A D | GitHubActions.ts | 113 const pullRequest = await getPullRequestAsync(pullRequestId, true); constant 116 pullRequest.body ?? '',
|
| H A D | Changelogs.ts | 649 .map((pullRequest) => `[#${pullRequest}](https://github.com/expo/expo/pull/${pullRequest})`)
|