Skip to content

Commit b4842b9

Browse files
committed
feat: enhance renovate configuration with new package rules for Docker, Devcontainer, and GitHub Actions
1 parent 6184884 commit b4842b9

1 file changed

Lines changed: 35 additions & 18 deletions

File tree

renovate.json

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
"enabledManagers": [
1111
"dockerfile",
12+
"devcontainer",
1213
"regex",
1314
"pep621",
1415
"github-actions"
@@ -33,45 +34,61 @@
3334

3435
"packageRules": [
3536
{
36-
"matchManagers": ["github-actions"],
37-
"matchUpdateTypes": ["patch", "minor"],
38-
"groupName": "GitHub Actions"
39-
},
40-
{
41-
"matchManagers": ["github-actions"],
42-
"matchUpdateTypes": ["major"],
43-
"groupName": "GitHub Actions (major)"
37+
"description": "🔷 Runtime Sync: Docker + Devcontainer base images",
38+
"matchManagers": ["dockerfile", "devcontainer"],
39+
"matchPackagePatterns": [
40+
"python",
41+
"alpine",
42+
"mcr.microsoft.com/devcontainers"
43+
],
44+
"groupName": "Runtime base (Docker + Devcontainer)"
4445
},
4546

4647
{
47-
"matchManagers": ["dockerfile"],
48-
"groupName": "Docker base images"
49-
},
50-
{
51-
"matchManagers": ["dockerfile"],
52-
"matchUpdateTypes": ["major"],
53-
"groupName": "Docker base images (major)"
48+
"description": "🧩 Devcontainer features",
49+
"matchManagers": ["devcontainer"],
50+
"matchPackagePatterns": ["features/*"],
51+
"groupName": "Devcontainer features",
52+
"separateMinorPatch": true
5453
},
5554

5655
{
56+
"description": "🐍 Python application dependencies (uv / pep621)",
5757
"matchManagers": ["pep621"],
5858
"groupName": "Python dependencies (uv)",
5959
"rangeStrategy": "pin",
6060
"separateMinorPatch": true
6161
},
6262

6363
{
64+
"description": "🐍 Python build tools (pip/uv/pyinstaller via regex)",
6465
"matchDatasources": ["pypi"],
6566
"groupName": "Python build tools"
6667
},
6768

6869
{
70+
"description": "⚙️ GitHub Actions updates (stable grouping)",
71+
"matchManagers": ["github-actions"],
72+
"matchUpdateTypes": ["patch", "minor"],
73+
"groupName": "GitHub Actions"
74+
},
75+
76+
{
77+
"description": "⚙️ GitHub Actions major updates",
78+
"matchManagers": ["github-actions"],
79+
"matchUpdateTypes": ["major"],
80+
"groupName": "GitHub Actions (major)"
81+
},
82+
83+
{
84+
"description": "🐧 Alpine OS safe updates only",
6985
"matchDatasources": ["repology"],
70-
"groupName": "Alpine safe updates",
71-
"matchUpdateTypes": ["patch"]
86+
"matchUpdateTypes": ["patch"],
87+
"groupName": "Alpine OS safe updates"
7288
},
7389

7490
{
91+
"description": "🚫 Disable risky OS upgrades",
7592
"matchDatasources": ["repology"],
7693
"matchUpdateTypes": ["minor", "major"],
7794
"enabled": false
@@ -92,7 +109,7 @@
92109
},
93110

94111
{
95-
"description": "Alpine apk packages (pinned versions)",
112+
"description": "Alpine pinned packages in Dockerfile",
96113
"fileMatch": ["(^|/)Dockerfile$"],
97114
"matchStrings": [
98115
"(?<depName>curl|git|zlib|tzdata|build-base|python3-dev|libffi-dev|openssl-dev|cargo)=(?<currentValue>[^\\s\\\\]+)"

0 commit comments

Comments
 (0)