-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrenovate.json
More file actions
64 lines (64 loc) · 2.11 KB
/
Copy pathrenovate.json
File metadata and controls
64 lines (64 loc) · 2.11 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
":automergeDigest",
":automergeMinor",
":rebaseStalePrs",
":semanticCommits",
":semanticCommitScope(deps)",
"customManagers:githubActionsVersions",
"helpers:pinGitHubActionDigestsToSemver"
],
"assignees": ["maxbrunet"],
"internalChecksFilter": "strict",
"platformAutomerge": true,
"postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"],
"packageRules": [
{
"description": "One week stability period for Go packages",
"matchDatasources": ["go"],
"minimumReleaseAge": "7 days"
},
{
"description": "Group packages from aws-sdk-go-v2 monorepo together",
"matchSourceUrls": ["https://github.com/aws/aws-sdk-go-v2{/,}**"],
"matchUpdateTypes": ["digest", "patch", "minor", "major"],
"groupName": "aws-sdk-go-v2 monorepo"
},
{
"description": "Exclude retracted Prometheus versions: https://github.com/renovatebot/renovate/issues/13012",
"matchPackageNames": ["github.com/prometheus/prometheus"],
"allowedVersions": "<1"
},
{
"matchDepTypes": ["require"],
"semanticCommitType": "build"
},
{
"matchPackageNames": ["go"],
"matchUpdateTypes": ["patch", "minor", "major"],
"semanticCommitType": "build"
},
{
"matchManagers": ["jsonata"],
"matchDepTypes": ["kos.base_image"],
"semanticCommitType": "build"
}
],
"customManagers": [
{
"description": "Update base image in .goreleaser.yml",
"customType": "jsonata",
"fileFormat": "yaml",
"managerFilePatterns": ["/(^|/)\\.goreleaser\\.ya?ml$/"],
"matchStrings": [
"kos.$match(base_image, /^(.+?)(?::(.+?))?(?:@(sha256:.+))?$/).{ 'depName': groups[0], 'currentValue': groups[1], 'currentDigest': groups[2] }"
],
"autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
"datasourceTemplate": "docker",
"depTypeTemplate": "kos.base_image",
"versioningTemplate": "docker"
}
]
}