-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate-base.json
More file actions
114 lines (114 loc) · 4.21 KB
/
renovate-base.json
File metadata and controls
114 lines (114 loc) · 4.21 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Base Renovate configuration for Arillso repositories",
"extends": ["config:best-practices", ":dependencyDashboard", ":semanticCommitTypeAll(chore)"],
"schedule": ["before 6am"],
"timezone": "Europe/Zurich",
"labels": ["dependencies"],
"assigneesFromCodeOwners": true,
"reviewersFromCodeOwners": true,
"prConcurrentLimit": 5,
"prHourlyLimit": 0,
"platformAutomerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"rebaseWhen": "behind-base-branch",
"semanticCommits": "enabled",
"separateMinorPatch": false,
"separateMajorMinor": true,
"separateMultipleMajor": true,
"rangeStrategy": "bump",
"minimumReleaseAge": "3 days",
"configMigration": true,
"postUpdateOptions": ["gomodTidy", "npmDedupe", "pnpmDedupe"],
"commitMessageAction": "Update",
"commitMessagePrefix": "chore(deps): ",
"commitMessageTopic": "{{depName}}",
"commitMessageExtra": "to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{prettyNewMajor}}{{else}}{{#if isSingleVersion}}{{prettyNewVersion}}{{else}}{{#if newValue}}{{{newValue}}}{{else}}{{{newDigestShort}}}{{/if}}{{/if}}{{/if}}{{/if}}",
"dependencyDashboardTitle": "Dependency Dashboard",
"dependencyDashboardLabels": ["dependencies", "renovate"],
"dependencyDashboardFooter": "Managed by Renovate Bot - [Documentation](https://docs.renovatebot.com/)",
"packageRules": [
{
"description": "Automerge all non-major updates",
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"groupName": "all non-major dependencies",
"groupSlug": "all-non-major",
"automerge": true
},
{
"description": "Major updates require manual review",
"matchUpdateTypes": ["major"],
"automerge": false,
"labels": ["dependencies", "major-update"],
"prPriority": 10,
"minimumReleaseAge": "7 days"
},
{
"description": "Pre-release versions require manual review",
"matchCurrentVersion": "/^0\\./",
"automerge": false
},
{
"description": "GitHub Actions - pin digests & automerge",
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions",
"pinDigests": true,
"automerge": true,
"semanticCommitType": "ci",
"semanticCommitScope": "actions"
},
{
"description": "arillso/.github - date tags, no digest pinning, immediate merge",
"matchDepNames": ["arillso/.github"],
"pinDigests": false,
"versioning": "regex:^(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})$",
"allowedVersions": "/^\\d{4}-\\d{2}-\\d{2}$/",
"minimumReleaseAge": "1 day",
"automerge": true
}
],
"lockFileMaintenance": {
"enabled": false
},
"vulnerabilityAlerts": {
"enabled": true,
"labels": ["dependencies", "security", "priority-high"],
"automerge": true,
"schedule": ["at any time"],
"minimumReleaseAge": null,
"semanticCommitType": "fix",
"semanticCommitScope": "security"
},
"customManagers": [
{
"customType": "regex",
"description": "Update versions in comments (renovate: datasource=... depName=...)",
"managerFilePatterns": [
"/\\.ya?ml$/",
"/\\.json$/",
"/\\.toml$/",
"/Makefile$/",
"/\\.mk$/",
"/Dockerfile$/"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>[^\\s]+)\\s+depName=(?<depName>[^\\s]+)(\\s+versioning=(?<versioning>[^\\s]+))?(\\s+extractVersion=(?<extractVersion>[^\\s]+))?\\s*\\n[^:]*:\\s*['\"]?(?<currentValue>[^'\"\\s]+)['\"]?"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"description": "Update pinned Renovate preset versions from arillso/.github",
"managerFilePatterns": [
"/(^|/)renovate[^/]*\\.json$/",
"/(^|/)\\.renovaterc\\.json$/",
"/(^|/)\\.renovaterc$/"
],
"matchStrings": ["github>arillso/\\.github[^\"]*#(?<currentValue>\\d{4}-\\d{2}-\\d{2})"],
"depNameTemplate": "arillso/.github",
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})$"
}
]
}