-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathrenovate.json5
More file actions
88 lines (85 loc) · 2.56 KB
/
Copy pathrenovate.json5
File metadata and controls
88 lines (85 loc) · 2.56 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:best-practices",
],
"baseBranchPatterns": ["main"],
"git-submodules": {
"enabled": true
},
// Do not rebase when the default branch is updated
"rebaseWhen": "never",
customManagers: [
{
customType: 'regex',
managerFilePatterns: [
'/^Justfile$/',
],
matchStrings: [
'(?<justName>.+?)\\s:=\\s"(?<packageName>\\S+):(?<currentValue>\\S+)@(?<currentDigest>sha256:[a-f0-9]+?)"',
],
datasourceTemplate: 'docker',
},
// Track GNOME extension submodules that pin to a release tag via the
// `branch =` field in .gitmodules. Renovate's git-submodules manager
// alone can't see new tags because tags don't move; this rewrites the
// `branch =` line and the git-submodules manager then advances the SHA.
// Uses github-tags (not github-releases) because some upstreams ship
// git tags without publishing GitHub Releases (e.g. caffeine).
{
customType: 'regex',
managerFilePatterns: [
'/^\\.gitmodules$/',
],
matchStringsStrategy: 'recursive',
matchStrings: [
'\\[submodule "[^"]+"\\][^\\[]*?url\\s*=\\s*https?://github\\.com/(?<depName>[^/\\s]+/[^/\\s]+?)(?:\\.git)?\\s[^\\[]*?branch\\s*=\\s*(?<currentValue>\\S*v\\d+\\S*)',
],
datasourceTemplate: 'github-tags',
versioningTemplate: 'loose',
depTypeTemplate: 'gnome-extension',
},
],
"packageRules": [
{
"automerge": true,
"matchUpdateTypes": ["pin", "pinDigest"]
},
{
"automerge": true,
"matchManagers": ["dockerfile"],
"matchUpdateTypes": ["digest"]
},
{
"matchUpdateTypes": ["pin", "digest", "pinDigest"],
"matchPackageNames": ["quay.io/coreos/chunkah"],
"automerge": false
},
{
"matchUpdateTypes": ["pin", "digest", "pinDigest"],
"matchDepNames": ["ghcr.io/projectbluefin/common"],
"automerge": false
},
{
"automerge": true,
"matchUpdateTypes": ["digest"],
"matchDepNames": [
"quay.io/fedora-ostree-desktops/silverblue"
]
},
{
"matchDepNames": ["quay.io/fedora-ostree-desktops/silverblue"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"matchDepTypes": ["gnome-extension"],
"matchPackageNames": ["micheleg/dash-to-dock"],
"versioning": "regex:^extensions\\.gnome\\.org-v(?<major>\\d+)$"
},
{
"matchDepTypes": ["gnome-extension"],
"groupName": "GNOME extensions"
}
]
}