-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathrenovate.json
66 lines (66 loc) · 2.4 KB
/
renovate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"baseBranches": ["main", "maintain/6.x", "maintain/7.x", "maintain/8.x"],
"ignoreDeps": ["@dwp/govuk-casa"],
"packageRules": [
{
"description": "v6 supports up to node v12. These packages require >=v14 so cannot be upgraded",
"matchBaseBranches": ["maintain/6.x"],
"matchPackageNames": [
"fs-extra",
"jsdom",
"@stryker-mutator/core",
"@stryker-mutator/mocha-runner"
],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Cannot major upgrade govuk-frontend in older versions as they introduce potentially breaking changes to UI",
"matchBaseBranches": ["maintain/6.x", "maintain/7.x", "maintain/8.x"],
"matchPackageNames": ["govuk-frontend"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Stick to major node versions on older branches ( as defined in .nvmrc)",
"matchBaseBranches": ["maintain/6.x", "maintain/7.x", "maintain/8.x"],
"matchManagers": ["nvm"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Stick to major node and npm versions on older branches (as defined in engines)",
"matchBaseBranches": ["maintain/6.x", "maintain/7.x", "maintain/8.x"],
"matchManagers": ["npm"],
"matchPackageNames": ["node", "npm"],
"matchDepTypes": ["engines"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Stick to current major node versions on older branches (as defined by docker images)",
"matchBaseBranches": ["maintain/6.x", "maintain/7.x", "maintain/8.x"],
"matchManagers": ["dockerfile"],
"matchPackageNames": ["node"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Auto-merging without an MR",
"groupName": "non-major dependencies",
"matchUpdateTypes": ["minor", "patch", "pin", "pinDigest"],
"automerge": true,
"automergeType": "branch",
"platformAutomerge": true,
"gitLabIgnoreApprovals": true,
"addLabels": ["Automatic Merge"]
},
{
"description": "Ignore upgrades to the zap dast image as later versions break pipeline",
"matchUpdateTypes": ["pin", "pinDigest"],
"matchPackageNames": ["owasp/zap2docker-stable"],
"enabled": false
}
]
}