Skip to content
Snippets Groups Projects
Unverified Commit ec9b4f89 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

feat(internal): parallel changelog retrieval (#6174)

parent 670e695b
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,15 @@ export async function renovateRepository(
config
);
await ensureOnboardingPr(config, packageFiles, branches);
for (const branch of branches) {
for (const upgrade of branch.upgrades) {
upgrade.logJSON = await getChangeLogJSON(upgrade);
}
}
await Promise.all(
branches.map(async (branch) => {
await Promise.all(
branch.upgrades.map(async (upgrade) => {
upgrade.logJSON = await getChangeLogJSON(upgrade); // eslint-disable-line no-param-reassign
})
);
})
);
addSplit('changelogs');
const res = await updateRepo(config, branches, branchList);
addSplit('update');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment