-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathrenovate.json5
More file actions
107 lines (107 loc) · 3.88 KB
/
renovate.json5
File metadata and controls
107 lines (107 loc) · 3.88 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":enablePreCommit",
"local>kellerlabs/homeracker:renovate-dependencies.json"
],
// Ignore any repository config presets
"ignorePresets": [":all"],
// Disable platform-native automerge, let Renovate handle merges directly
"platformAutomerge": false,
// Disable hourly PR limit (default from config:recommended is 2)
"prHourlyLimit": 0,
"schedule": ["* * * * 0,6"],
// Use "deps" as commit type instead of "chore(deps)"
"semanticCommits": "enabled",
"semanticCommitType": "deps",
"semanticCommitScope": null,
// Custom managers for tracking OpenSCAD and BOSL2 versions
"customManagers": [
{
"customType": "regex",
// Track OpenSCAD nightly Windows version - extracts from Windows .zip filenames
"managerFilePatterns": ["/^cmd/scadm/scadm/constants\\.py$/"],
"matchStrings": [
"OPENSCAD_NIGHTLY_VERSION_WINDOWS = \"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "custom.openscad-snapshots",
"depNameTemplate": "OpenSCAD-Windows",
"extractVersionTemplate": "^OpenSCAD-(?<version>\\d{4}\\.\\d{2}\\.\\d{2})-x86-64\\.zip$",
"versioningTemplate": "loose"
},
{
"customType": "regex",
// Track OpenSCAD nightly Linux version - extracts from Linux .AppImage filenames
"managerFilePatterns": ["/^cmd/scadm/scadm/constants\\.py$/"],
"matchStrings": [
"OPENSCAD_NIGHTLY_VERSION_LINUX = \"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "custom.openscad-snapshots",
"depNameTemplate": "OpenSCAD-Linux",
"extractVersionTemplate": "^OpenSCAD-(?<version>\\d{4}\\.\\d{2}\\.\\d{2})-x86_64\\.AppImage$",
"versioningTemplate": "loose"
},
{
"customType": "regex",
// Track OpenSCAD stable version in constants
"managerFilePatterns": ["/^cmd/scadm/scadm/constants\\.py$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\nOPENSCAD_STABLE_VERSION = \"(?<currentValue>.*?)\""
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "loose"
}
],
// Custom datasource for OpenSCAD nightly snapshots
"customDatasources": {
"openscad-snapshots": {
"defaultRegistryUrlTemplate": "https://files.openscad.org/snapshots/",
"format": "html"
}
},
// Package rules to group OpenSCAD updates and override semanticPrefixFixDepsChoreOthers preset
"packageRules": [
// Override the semanticPrefixFixDepsChoreOthers preset from config:recommended
// That preset sets semanticCommitType to "chore" for everything by default
{
"matchPackageNames": ["*"],
"semanticCommitType": "deps"
},
{
"matchDatasources": ["custom.openscad-snapshots"],
"groupName": "OpenSCAD nightly",
"groupSlug": "openscad-nightly",
"separateMajorMinor": false,
"automerge": true
},
{
// Group all GitHub Actions updates together
"matchManagers": ["github-actions"],
"groupName": "GitHub Actions",
"groupSlug": "github-actions",
"automerge": true
},
{
// Since we have a test-suite running (pre-commit), we can safely automerge the following dependencies
// If checks fail, Renovate will not automerge
"matchPackageNames": [
"BelfrySCAD/BOSL2"
],
"automerge": true
},
{
// infra-global-github-actions uses per-component semver tags (e.g. pull-request-1.0.0)
"matchPackageNames": ["camunda/infra-global-github-actions"],
"versioning": "regex:^pull-request-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
"automerge": true
},
{
"matchManagers": ["pre-commit"],
"groupName": "pre-commit hooks",
"groupSlug": "pre-commit-hooks",
"separateMajorMinor": false,
"automerge": true
}
]
}