-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrenovate.json5
More file actions
69 lines (67 loc) · 2.19 KB
/
Copy pathrenovate.json5
File metadata and controls
69 lines (67 loc) · 2.19 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
// This file is in JSON5 format: https://json5.org
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:best-practices",
"helpers:pinGitHubActionDigestsToSemver",
],
postUpdateOptions: [
"gomodTidy",
"goModUpdateImportPaths",
],
packageRules: [
// Enable automerging for non-major updates to all dependencies
{
automerge: true,
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
},
// Group all non-major Go module updates into a single PR
{
automerge: true,
groupName: "Golang dependencies (non-major)",
matchManagers: ["gomod"],
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
minimumReleaseAge: "7 days",
},
// Group all Docker updates into a single PR
{
description: "Automerge Docker base image updates for non-major versions",
matchManagers: ["dockerfile"],
matchUpdateTypes: ["minor", "patch", "pin", "digest"],
pinDigests: true,
groupName: "docker dependencies",
groupSlug: "docker-deps",
automerge: true,
addLabels: ["docker", "dependencies"],
},
// Group PRs for GitHub Action updates into a single PR
{
description: "Group GitHub Action updates into a single PR",
matchManagers: ["github-actions"],
groupName: "github actions",
groupSlug: "github-actions",
addLabels: ["github-actions", "dependencies"],
},
],
customManagers: [{
customType: "regex",
managerFilePatterns: [
"^(Docker|Container)file$"
],
// # renovate: datasource=github-releases depName=carvel-dev/vendir
// ARG VENDIR_VERSION=0.33.1
matchStrings: [
"#\\s+renovate:\\s+datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\s+(ARG|ENV)\\s+\\S+=['\"]?(?<currentValue>[^'\"\\s]+)['\"]?",
],
},{
customType: "regex",
managerFilePatterns: [
"(^|/)\\.github/workflows/.+\\.ya?ml$"
],
// # renovate: datasource=github-releases depName=mvdan/gofumpt
// tag: v0.5.0
matchStrings: [
"#\\s+renovate:\\s+datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)\\s+\\w+:\\s+(?<currentValue>[^\\s]+)",
],
}],
}