mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: add changelog json check
This commit is contained in:
parent
bcd708fd7c
commit
cca41dc2fa
1 changed files with 2 additions and 2 deletions
|
@ -124,10 +124,10 @@ async function ensurePr(prConfig) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (logJSON) {
|
if (logJSON) {
|
||||||
upgrade.githubName = logJSON.project.github;
|
upgrade.githubName = logJSON.project ? logJSON.project.github : undefined;
|
||||||
upgrade.hasReleaseNotes = logJSON.hasReleaseNotes;
|
upgrade.hasReleaseNotes = logJSON.hasReleaseNotes;
|
||||||
upgrade.releases = [];
|
upgrade.releases = [];
|
||||||
if (!commitRepos.includes(upgrade.githubName)) {
|
if (upgrade.githubName && !commitRepos.includes(upgrade.githubName)) {
|
||||||
commitRepos.push(upgrade.githubName);
|
commitRepos.push(upgrade.githubName);
|
||||||
logJSON.versions.forEach(version => {
|
logJSON.versions.forEach(version => {
|
||||||
const release = { ...version };
|
const release = { ...version };
|
||||||
|
|
Loading…
Reference in a new issue