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,
|
newVersion: maxSatisfying,
|
||||||
newVersionMajor: semver.major(maxSatisfying),
|
newVersionMajor: semver.major(maxSatisfying),
|
||||||
groupName: 'Pin Dependencies',
|
groupName: 'Pin Dependencies',
|
||||||
groupPrTitle: '{{groupName}}',
|
group: {
|
||||||
|
prTitle: '{{groupName}}',
|
||||||
|
},
|
||||||
};
|
};
|
||||||
changeLogFromVersion = maxSatisfying;
|
changeLogFromVersion = maxSatisfying;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) disables ma
|
||||||
Array [
|
Array [
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -50,8 +52,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.9.7",
|
"newVersion": "0.9.7",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -64,8 +68,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) pins minor
|
||||||
Array [
|
Array [
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "1.4.1",
|
"newVersion": "1.4.1",
|
||||||
"newVersionMajor": 1,
|
"newVersionMajor": 1,
|
||||||
|
@ -96,8 +102,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -110,8 +118,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) returns onl
|
||||||
Array [
|
Array [
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -133,8 +143,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) returns onl
|
||||||
Array [
|
Array [
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -199,8 +211,10 @@ exports[`workers/package/versions .determineUpgrades(npmDep, config) supports fu
|
||||||
Array [
|
Array [
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "2.0.3",
|
"newVersion": "2.0.3",
|
||||||
"newVersionMajor": 2,
|
"newVersionMajor": 2,
|
||||||
|
@ -245,8 +259,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -277,8 +293,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "0.4.4",
|
"newVersion": "0.4.4",
|
||||||
"newVersionMajor": 0,
|
"newVersionMajor": 0,
|
||||||
|
@ -315,8 +333,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "1.3.0",
|
"newVersion": "1.3.0",
|
||||||
"newVersionMajor": 1,
|
"newVersionMajor": 1,
|
||||||
|
@ -378,8 +398,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "1.0.1",
|
"newVersion": "1.0.1",
|
||||||
"newVersionMajor": 1,
|
"newVersionMajor": 1,
|
||||||
|
@ -481,8 +503,10 @@ Array [
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
"automergeEnabled": true,
|
"automergeEnabled": true,
|
||||||
|
"group": Object {
|
||||||
|
"prTitle": "{{groupName}}",
|
||||||
|
},
|
||||||
"groupName": "Pin Dependencies",
|
"groupName": "Pin Dependencies",
|
||||||
"groupPrTitle": "{{groupName}}",
|
|
||||||
"isPin": true,
|
"isPin": true,
|
||||||
"newVersion": "1.3.0",
|
"newVersion": "1.3.0",
|
||||||
"newVersionMajor": 1,
|
"newVersionMajor": 1,
|
||||||
|
|
Loading…
Reference in a new issue