mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: use new config for pin.group.prTitle
This commit is contained in:
parent
82357d81bd
commit
3ec668225a
2 changed files with 39 additions and 13 deletions
|
@ -42,7 +42,9 @@ function determineUpgrades(npmDep, config) {
|
|||
newVersion: maxSatisfying,
|
||||
newVersionMajor: semver.major(maxSatisfying),
|
||||
groupName: 'Pin Dependencies',
|
||||
groupPrTitle: '{{groupName}}',
|
||||
group: {
|
||||
prTitle: '{{groupName}}',
|
||||
},
|
||||
};
|
||||
changeLogFromVersion = maxSatisfying;
|
||||
}
|
||||
|
|
|
@ -4,8 +4,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) disables ma
|
|||
Array [
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -50,8 +52,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.9.7",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -64,8 +68,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) pins minor
|
|||
Array [
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "1.4.1",
|
||||
"newVersionMajor": 1,
|
||||
|
@ -96,8 +102,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -110,8 +118,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) returns onl
|
|||
Array [
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -133,8 +143,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) returns onl
|
|||
Array [
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -199,8 +211,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) supports fu
|
|||
Array [
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "2.0.3",
|
||||
"newVersionMajor": 2,
|
||||
|
@ -245,8 +259,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -277,8 +293,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "0.4.4",
|
||||
"newVersionMajor": 0,
|
||||
|
@ -315,8 +333,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "1.3.0",
|
||||
"newVersionMajor": 1,
|
||||
|
@ -378,8 +398,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "1.0.1",
|
||||
"newVersionMajor": 1,
|
||||
|
@ -481,8 +503,10 @@ Array [
|
|||
},
|
||||
Object {
|
||||
"automergeEnabled": true,
|
||||
"group": Object {
|
||||
"prTitle": "{{groupName}}",
|
||||
},
|
||||
"groupName": "Pin Dependencies",
|
||||
"groupPrTitle": "{{groupName}}",
|
||||
"isPin": true,
|
||||
"newVersion": "1.3.0",
|
||||
"newVersionMajor": 1,
|
||||
|
|
Loading…
Reference in a new issue