-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
46 lines (46 loc) · 1.38 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":semanticCommits",
"config:best-practices",
"group:monorepos",
"group:recommended"
],
"postUpdateOptions": ["pnpmDedupe"],
"customDatasources": {
"rust-nightly": {
"defaultRegistryUrlTemplate": "https://renovate-rust-nightly.phi-ag.workers.dev"
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^rust-toolchain.toml$"],
"matchStrings": ["channel = \"nightly-(?<currentValue>.+?)\"\\n"],
"versioningTemplate": "regex:^(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})$",
"datasourceTemplate": "custom.rust-nightly",
"depNameTemplate": "rust-nightly"
},
{
"customType": "regex",
"fileMatch": ["^\\.github/actions/binaryen/action\\.yml$"],
"matchStrings": ["VERSION: (?<currentValue>.+)\\n"],
"versioningTemplate": "regex:^version_(?<major>\\d+)$",
"packageNameTemplate": "WebAssembly/binaryen",
"datasourceTemplate": "github-releases",
"depNameTemplate": "binaryen"
}
],
"packageRules": [
{ "matchDepNames": ["node"], "ignoreUnstable": false },
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest", "pinDigest"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchDepNames": "binaryen",
"automerge": true
}
]
}