Skip to content

Commit 5bd54e9

Browse files
chore(config): migrate config renovate.json (homeassistant-ai#509)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 03b53c4 commit 5bd54e9

1 file changed

Lines changed: 22 additions & 7 deletions

File tree

renovate.json

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended"],
3+
"extends": [
4+
"config:recommended"
5+
],
46
"timezone": "UTC",
5-
"schedule": ["after 3pm on tuesday"],
6-
"enabledManagers": ["custom.regex"],
7+
"schedule": [
8+
"after 3pm on tuesday"
9+
],
10+
"enabledManagers": [
11+
"custom.regex"
12+
],
713
"ignorePaths": [],
814
"customManagers": [
915
{
1016
"customType": "regex",
11-
"fileMatch": ["tests/.*\\.py$"],
17+
"managerFilePatterns": [
18+
"/tests/.*\\.py$/"
19+
],
1220
"matchStrings": [
1321
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+.*?\\S+:(?<currentValue>[\\d.]+)"
1422
],
@@ -19,8 +27,12 @@
1927
"packageRules": [
2028
{
2129
"description": "Python version upgrades - wait 6 months after release",
22-
"matchManagers": ["asdf"],
23-
"matchPackageNames": ["python"],
30+
"matchManagers": [
31+
"asdf"
32+
],
33+
"matchPackageNames": [
34+
"python"
35+
],
2436
"minimumReleaseAge": "180 days",
2537
"postUpgradeTasks": {
2638
"commands": [
@@ -51,5 +63,8 @@
5163
}
5264
}
5365
],
54-
"labels": ["dependencies", "python-upgrade"]
66+
"labels": [
67+
"dependencies",
68+
"python-upgrade"
69+
]
5570
}

0 commit comments

Comments
 (0)