-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json5
81 lines (81 loc) · 2.39 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
{
// Default configuration for managed Renovate
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [ // default presets see https://docs.renovatebot.com/presets-default/
"config:recommended",
"helpers:pinGitHubActionDigestsToSemver",
"security:openssf-scorecard",
":enableVulnerabilityAlertsWithLabel(security)",
],
labels: [
"renovate",
"renovate/{{updateType}}",
],
ignorePaths: [
// Prevent running for terraform managed workflows
".github/workflows/tf-*.yml", ".github/workflows/tf-*.yaml"
],
packageRules: [
{
description: "Update renovatebot/github-action minor/patch updates on Sundays",
matchPackageNames: ["renovatebot/github-action"],
matchUpdateTypes: ["minor", "patch"],
schedule: ["* * * * 0"],
},
// Disable for eclipseconfig Gradle plugin (because latest version is not published to Plugin Portal)
{
matchPackageNames: ["org.standardout.eclipseconfig"],
enabled: false,
},
// group logback related dependencies
{
"groupName": "logback dependencies",
"groupSlug": "logback-deps",
"matchPackagePrefixes": ["ch.qos.logback:"]
},
// group wetransform logging utils
{
"groupName": "wetransform logging dependencies",
"groupSlug": "wetf-logging-deps",
"matchPackagePrefixes": ["to.wetransform.logging:"]
},
],
customManagers: [
{
description: "Update semantic-release in GitHub Action workflows",
customType: "regex",
fileMatch: ["(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$"],
matchStrings: [
"\
semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?\
(\\s+|\\s+.*)"
],
datasourceTemplate: "npm",
depNameTemplate: "semantic-release"
},
{
description: "Any other workflows related file with dependencies",
customType: "regex",
fileMatch: [
"(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$",
],
matchStrings: [
"\
.*renovate:\
\\sdatasource=(?<datasource>.*?)\
\\sdepName=(?<depName>.*?)\
(\\sversioning=(?<versioning>.*?))?\
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\
(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\
(\\s+|\\s+.*)"
],
versioningTemplate: "\
{{#if versioning}}\
{{{versioning}}}\
{{else}}\
semver-coerced\
{{/if}}"
},
],
separateMinorPatch: false,
}