-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
36 lines (36 loc) · 1.21 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"github>ksrgtech/renovate-crate-automerge"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["(^|/)\\.github/workflows/rust\\.yml$"],
"matchStrings": ["#\\s?renovate: rustc-stable\\s*rustc_version:\\s*'(?<currentValue>\\d\\.\\d+\\.\\d+)'"],
"depNameTemplate": "rust",
"packageNameTemplate": "rust-lang/rust",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["(^|/)\\.github/workflows/validate-renovate\\.yml$"],
"matchStrings": ["#\\s?renovate: npm:renovate\\s*RENOVATE_VERSION:\\s*'(?<currentValue>\\d+\\.\\d+\\.\\d+)'"],
"depNameTemplate": "renovate",
"packageNameTemplate": "renovate",
"datasourceTemplate": "npm"
}
],
"packageRules": [
{
"description": "automerge for renovate-config-validator",
"matchUpdateTypes": ["minor", "patch"],
"matchManagers": ["custom.regex"],
"matchFileNames": [".github/workflows/validate-renovate.yml"],
"matchDepNames": ["renovate"],
"automerge": true,
"schedule": "before 3pm on Tuesday"
}
]
}