diff --git a/lib/workers/pr/changelog/hbs-template.ts b/lib/workers/pr/changelog/hbs-template.ts index f646ea2f9eb465ecb362f0d06fb8904d0040424a..35521b9872be84f55bad67eb5c9834495ce5003a 100644 --- a/lib/workers/pr/changelog/hbs-template.ts +++ b/lib/workers/pr/changelog/hbs-template.ts @@ -5,7 +5,7 @@ export default `### Release Notes {{#if upgrade.hasReleaseNotes}} <details> -<summary>{{upgrade.githubName}}</summary> +<summary>{{upgrade.repoName}}</summary> {{#each upgrade.releases as |release|}} diff --git a/lib/workers/pr/index.ts b/lib/workers/pr/index.ts index 9c81a2ec68423d6a4a7c650a591c141b83843f56..acf1204798306e616155d54c1b15388f4547a760 100644 --- a/lib/workers/pr/index.ts +++ b/lib/workers/pr/index.ts @@ -198,16 +198,16 @@ export async function ensurePr( if (logJSON) { if (typeof logJSON.error === 'undefined') { if (logJSON.project) { - upgrade.githubName = logJSON.project.github; + upgrade.repoName = logJSON.project.github; } upgrade.hasReleaseNotes = logJSON.hasReleaseNotes; upgrade.releases = []; if ( upgrade.hasReleaseNotes && - upgrade.githubName && - !commitRepos.includes(upgrade.githubName) + upgrade.repoName && + !commitRepos.includes(upgrade.repoName) ) { - commitRepos.push(upgrade.githubName); + commitRepos.push(upgrade.repoName); if (logJSON.versions) { logJSON.versions.forEach((version) => { const release = { ...version };