Repository navigation
Expand file tree
/
Copy pathrenovate.json
More file actions
92 lines (92 loc) · 3.24 KB
/
Copy pathrenovate.json
File metadata and controls
92 lines (92 loc) · 3.24 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
89
90
91
92
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "helpers:pinGitHubActionDigests"],
"internalChecksFilter": "strict",
"minimumReleaseAgeBehaviour": "timestamp-required",
"customManagers": [
{
"customType": "regex",
"description": "Keep manifest.json requirements in sync with requirements.txt via PyPI",
"managerFilePatterns": ["/^custom_components/[^/]+/manifest\\.json$/"],
"matchStrings": [
"\"(?<depName>[a-zA-Z0-9_.-]+)==(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "pypi"
},
{
"customType": "regex",
"description": "Track Python version in pyproject.toml requires-python",
"managerFilePatterns": ["/^pyproject\\.toml$/"],
"matchStrings": [
"requires-python\\s*=\\s*\">=(?<currentValue>[\\d.]+)\""
],
"depNameTemplate": "python",
"datasourceTemplate": "python-version"
},
{
"customType": "regex",
"description": "Track Python version in CODESPACES.md prose",
"managerFilePatterns": ["/^docs/development/CODESPACES\\.md$/"],
"matchStrings": [
"Python (?<currentValue>[\\d.]+) environment"
],
"depNameTemplate": "python",
"datasourceTemplate": "python-version"
},
{
"customType": "regex",
"description": "Track Python version in workflow venv cache keys",
"managerFilePatterns": ["/^\\.github/workflows/.*\\.yml$/"],
"matchStrings": [
"ha-venv-.*-py(?<currentValue>\\d+\\.\\d+)-"
],
"depNameTemplate": "python",
"datasourceTemplate": "python-version"
}
],
"automerge": true,
"minimumReleaseAge": "3 days",
"packageRules": [
{
"matchDepNames": ["homeassistant"],
"enabled": false,
"description": "Home Assistant version should match the homeassistant key in hacs.json"
},
{
"matchDepNames": ["python", "mcr.microsoft.com/devcontainers/python"],
"groupName": "Python version",
"automerge": false,
"description": "Python version is manually managed to track Home Assistant requirements",
"prBodyNotes": [
"⚠️ **Do not automerge.** This project tracks the Home Assistant Python requirement, which is the previous minor version of Python. Verify the new version matches before merging."
]
},
{
"matchDepNames": ["flameconnect"],
"minimumReleaseAge": "0 days",
"description": "Immediately automerge flameconnect library updates without the default delay"
},
{
"description": "Tagged action releases: cooldown, then automerge",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["minor", "patch"],
"minimumReleaseAge": "3 days",
"automerge": true,
"automergeType": "pr"
},
{
"description": "Major action bumps: cooldown, manual review",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["major"],
"minimumReleaseAge": "3 days",
"automerge": true
},
{
"description": "Pure digest moves: no timestamp available, always review",
"matchManagers": ["github-actions"],
"matchUpdateTypes": ["digest", "pinDigest", "pin"],
"automerge": false,
"dependencyDashboardApproval": true
}
]
}