-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json5
83 lines (83 loc) · 2.84 KB
/
default.json5
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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
onboardingConfigFileName: ".github/renovate.json5",
extends: [
"config:recommended",
":disableRateLimiting",
"github>TWiStErRob/renovate-config:group.json5/all",
"github>TWiStErRob/renovate-config:replacement.json5/all",
],
semanticCommits: "disabled",
configMigration: true,
commitMessageExtra: "from {{{currentValue}}} to {{{newValue}}}{{#if isMajor}} (major v{{{newMajor}}}){{else}}{{/if}}",
labels: ["in:dependencies"],
separateMajorMinor: true,
separateMultipleMajor: true,
separateMinorPatch: true,
minimumReleaseAge: "8 hours",
internalChecksFilter: "strict",
ignorePaths: [
"do-not-ignore-anything",
],
packageRules: [
{
description: "Auto-merge all small changes, except for unstable versions.",
matchUpdateTypes: ["minor", "patch"],
matchCurrentVersion: "!/^0/",
automerge: true,
},
{
description: "Auto-merge all updates of specific dependencies, their 0.x versions are stable and well-controlled.",
matchUpdateTypes: ["minor", "patch"],
matchCurrentVersion: "/^0/",
matchPackageNames: [
"org.gradle.toolchains.foojay-resolver-convention:org.gradle.toolchains.foojay-resolver-convention.gradle.plugin",
],
automerge: true,
},
{
description: "Auto-merge all digest updates, TODO why?",
matchUpdateTypes: ["digest"],
automerge: true,
},
{
description: "Wait for npm dependencies, they often have small patch releases in quick succession.",
matchDatasources: ["npm"],
minimumReleaseAge: "3 days",
},
{
description: "Wait for Ruby upgrades, ruby/setup-ruby action keeps lagging behind and upgrades just fail.",
matchDepNames: ["ruby"],
minimumReleaseAge: "7 days",
},
{
// Example failure: https://github.com/TWiStErRob/net.twisterrob.ghlint/actions/runs/9427213452/job/25971052478?pr=315
// > Version 3.12.4 was not found in the local cache
// > Error: The version '3.12.4' with architecture 'x64' was not found for Ubuntu 22.04.
// > The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
description: "Wait for Pyhton upgrades, actions/setup-python action keeps lagging behind and upgrades just fail. Example: https://github.com/actions/setup-python/issues/883",
matchDepNames: ["python"],
minimumReleaseAge: "7 days",
},
{
description: "Merge my packages as soon as possible.",
matchPackageNames: [
"TWiStErRob/*",
"net.twisterrob.*",
],
minimumReleaseAge: "0 minutes",
},
{
description: "Pin my reusable workflows, semver might not be true.",
matchDepTypes: ["action"],
matchPackageNames: [
"TWiStErRob/github-workflows",
],
pinDigests: true,
},
],
"gradle-wrapper": {
description: "Update Gradle wrapper to non-stable versions",
ignoreUnstable: false,
},
}