diff --git a/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap b/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap index 350833090425151315c1a06bcd630c296a120c71..d875f045e5c4010ffa685ec575a505249b9a4054 100644 --- a/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap +++ b/lib/workers/repository/update/pr/changelog/__snapshots__/index.spec.ts.snap @@ -6,6 +6,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > filte "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "@renovate/no", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -65,6 +66,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > suppo "project": { "apiBaseUrl": "https://github-enterprise.example.com/api/v3/", "baseUrl": "https://github-enterprise.example.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -124,6 +126,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > suppo "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -183,6 +186,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > suppo "project": { "apiBaseUrl": "https://github-enterprise.example.com/api/v3/", "baseUrl": "https://github-enterprise.example.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -242,6 +246,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > suppo "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -301,6 +306,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > uses "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -365,6 +371,7 @@ exports[`workers/repository/update/pr/changelog/index > getChangeLogJSON > works "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, diff --git a/lib/workers/repository/update/pr/changelog/github/__snapshots__/index.spec.ts.snap b/lib/workers/repository/update/pr/changelog/github/__snapshots__/index.spec.ts.snap index c916193973d5188e99a4f0a77e320655f65de3f0..855b15f3b53b107b8277afa93a2c30203404ecc8 100644 --- a/lib/workers/repository/update/pr/changelog/github/__snapshots__/index.spec.ts.snap +++ b/lib/workers/repository/update/pr/changelog/github/__snapshots__/index.spec.ts.snap @@ -6,6 +6,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "@renovate/no", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -65,6 +66,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://github-enterprise.example.com/api/v3/", "baseUrl": "https://github-enterprise.example.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -124,6 +126,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -183,6 +186,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -242,6 +246,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, @@ -301,6 +306,7 @@ exports[`workers/repository/update/pr/changelog/github/index > getChangeLogJSON "project": { "apiBaseUrl": "https://api.github.com/", "baseUrl": "https://github.com/", + "depName": undefined, "packageName": "renovate", "repository": "chalk/chalk", "sourceDirectory": undefined, diff --git a/lib/workers/repository/update/pr/changelog/github/index.spec.ts b/lib/workers/repository/update/pr/changelog/github/index.spec.ts index 439f3003f625b2214c4898358a71a8887da0716d..b597cf850cf4b98ac367456b486154f58ffcf44f 100644 --- a/lib/workers/repository/update/pr/changelog/github/index.spec.ts +++ b/lib/workers/repository/update/pr/changelog/github/index.spec.ts @@ -100,6 +100,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -125,6 +126,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -151,6 +153,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: '@renovate/no', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -177,6 +180,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -264,6 +268,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -297,6 +302,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://github-enterprise.example.com/api/v3/', baseUrl: 'https://github-enterprise.example.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -350,6 +356,7 @@ describe('workers/repository/update/pr/changelog/github/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, type: 'github', repository: 'chalk/chalk', sourceUrl: 'https://github.com/chalk/chalk', diff --git a/lib/workers/repository/update/pr/changelog/gitlab/__snapshots__/index.spec.ts.snap b/lib/workers/repository/update/pr/changelog/gitlab/__snapshots__/index.spec.ts.snap index 11be2dfccff25602b244278a16d5951868ed4cde..dde3c45b3ed53a665be1949cac49745fa580db0f 100644 --- a/lib/workers/repository/update/pr/changelog/gitlab/__snapshots__/index.spec.ts.snap +++ b/lib/workers/repository/update/pr/changelog/gitlab/__snapshots__/index.spec.ts.snap @@ -6,6 +6,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://gitlab.com/api/v4/", "baseUrl": "https://gitlab.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, @@ -55,6 +56,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://gitlab-enterprise.example.com/api/v4/", "baseUrl": "https://gitlab-enterprise.example.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, @@ -104,6 +106,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://git.test.com/api/v4/", "baseUrl": "https://git.test.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, @@ -153,6 +156,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://gitlab.com/api/v4/", "baseUrl": "https://gitlab.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, @@ -222,6 +226,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://gitlab.com/api/v4/", "baseUrl": "https://gitlab.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, @@ -271,6 +276,7 @@ exports[`workers/repository/update/pr/changelog/gitlab/index > getChangeLogJSON "project": { "apiBaseUrl": "https://gitlab.com/api/v4/", "baseUrl": "https://gitlab.com/", + "depName": undefined, "packageName": "renovate", "repository": "meno/dropzone", "sourceDirectory": undefined, diff --git a/lib/workers/repository/update/pr/changelog/gitlab/index.spec.ts b/lib/workers/repository/update/pr/changelog/gitlab/index.spec.ts index 8986b7dbbb081becd3b16883ea550a628aa9bbcc..1c5faeebb87b52dba23f79936bd4ac63b13bbae6 100644 --- a/lib/workers/repository/update/pr/changelog/gitlab/index.spec.ts +++ b/lib/workers/repository/update/pr/changelog/gitlab/index.spec.ts @@ -90,6 +90,7 @@ describe('workers/repository/update/pr/changelog/gitlab/index', () => { project: { apiBaseUrl: 'https://gitlab.com/api/v4/', baseUrl: 'https://gitlab.com/', + depName: undefined, packageName: 'renovate', repository: 'meno/dropzone', sourceDirectory: undefined, @@ -132,6 +133,7 @@ describe('workers/repository/update/pr/changelog/gitlab/index', () => { project: { apiBaseUrl: 'https://gitlab.com/api/v4/', baseUrl: 'https://gitlab.com/', + depName: undefined, packageName: 'renovate', repository: 'meno/dropzone', sourceDirectory: undefined, @@ -167,6 +169,7 @@ describe('workers/repository/update/pr/changelog/gitlab/index', () => { project: { apiBaseUrl: 'https://gitlab.com/api/v4/', baseUrl: 'https://gitlab.com/', + depName: undefined, packageName: 'renovate', repository: 'meno/dropzone', sourceDirectory: undefined, @@ -202,6 +205,7 @@ describe('workers/repository/update/pr/changelog/gitlab/index', () => { project: { apiBaseUrl: 'https://gitlab.com/api/v4/', baseUrl: 'https://gitlab.com/', + depName: undefined, packageName: 'renovate', repository: 'meno/dropzone', sourceDirectory: undefined, diff --git a/lib/workers/repository/update/pr/changelog/index.spec.ts b/lib/workers/repository/update/pr/changelog/index.spec.ts index 4f0d4f375d0a20002d2220f4f7052c5a68018095..bca5e1f2c19cdd64520f27acce0cd911a8feaf73 100644 --- a/lib/workers/repository/update/pr/changelog/index.spec.ts +++ b/lib/workers/repository/update/pr/changelog/index.spec.ts @@ -122,6 +122,7 @@ describe('workers/repository/update/pr/changelog/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -157,6 +158,7 @@ describe('workers/repository/update/pr/changelog/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -216,6 +218,7 @@ describe('workers/repository/update/pr/changelog/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, @@ -304,6 +307,7 @@ describe('workers/repository/update/pr/changelog/index', () => { project: { apiBaseUrl: 'https://api.github.com/', baseUrl: 'https://github.com/', + depName: undefined, packageName: 'renovate', repository: 'chalk/chalk', sourceDirectory: undefined, diff --git a/lib/workers/repository/update/pr/changelog/source.ts b/lib/workers/repository/update/pr/changelog/source.ts index ae76f628f5bf4d2d0d303e735f03bc6ee6fbad1e..4aa174ea90899bc35a893620fc0b059ad677209d 100644 --- a/lib/workers/repository/update/pr/changelog/source.ts +++ b/lib/workers/repository/update/pr/changelog/source.ts @@ -188,6 +188,7 @@ export abstract class ChangeLogSource { sourceUrl, sourceDirectory, packageName, + depName, }, versions: changelogReleases, };