-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitlab.json
86 lines (85 loc) · 3.14 KB
/
gitlab.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Default preset for use with autonubils's repos",
"extends": [
"config:base",
":maintainLockFilesWeekly",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
":automergeDigest",
":automergePatch",
":automergeMinor",
"docker:enableMajor",
"group:linters"
],
"assignees": ["czeumer"],
"automergeType": "branch",
"dependencyDashboard": true,
"prCreation": "not-pending",
"rebaseWhen": "auto",
"platformAutomerge": true,
"internalChecksFilter": "strict",
"packageRules": [
{
"description": "Require dashboard approval for major updates except autonubil",
"excludePackagePatterns": [
"^autonubil?($|/)",
"^@autonubil\\/"
],
"matchUpdateTypes": ["major"],
"dependencyDashboardApproval": true
},
{
"description": "Automerge non-major updates",
"matchUpdateTypes": ["minor", "patch", "digest", "lockFileMaintenance"],
"automerge": true
},
{
"description": "Group prettier packages",
"matchPackageNames": ["prettier"],
"matchPackagePatterns": ["^@prettier\\/", "^prettier-plugin-"],
"groupName": "prettier packages"
},
{
"description": "Disable Ubuntu minor updates",
"matchDatasources": ["docker"],
"matchPackageNames": ["amd64/ubuntu", "ubuntu"],
"matchUpdateTypes": ["minor"],
"enabled": false
},
{
"description": "One week stability period for npm packages except autonubil",
"matchDatasources": ["npm"],
"excludePackageNames": ["autonubil"],
"excludePackagePrefixes": ["@autonubil/"],
"stabilityDays": 7
}
],
"regexManagers": [
{
"description": "Update _VERSION variables in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"description": "Update install-* Buildpack commands in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\sRUN install-[a-z]+? (?<depName>[a-z-]+?) (?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"description": "Update _VERSION variables in shell scripts",
"fileMatch": ["\\.sh$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?)(?: (?:packageName|lookupName)=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s[A-Z_]+?_VERSION=(?<currentValue>.+?)\\s"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
}