Skip to content

Commit 5a0eb68

Browse files
committed
fix: renovate config
1 parent 0966a40 commit 5a0eb68

1 file changed

Lines changed: 28 additions & 45 deletions

File tree

.github/renovate.json5

Lines changed: 28 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,43 @@
11
{
2-
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:base"
5-
],
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["config:base"],
64
// Force Renovate to use 'fix:' and 'feat:' prefixes,
75
// even if the repo history is empty.
8-
"semanticCommits": "enabled",
6+
semanticCommits: "enabled",
97
// --- 1. AUTOMATION SETTINGS ---
10-
"automerge": true,
11-
"platformAutomerge": true,
12-
"automergeStrategy": "squash",
13-
"rebaseWhen": "behind-base-branch",
14-
"stopUpdatingLabel": "renovate-stop",
8+
automerge: true,
9+
// platformAutomerge: true,
10+
automergeStrategy: "squash",
11+
rebaseWhen: "behind-base-branch",
12+
stopUpdatingLabel: "renovate-stop",
1513
// --- 2. CUSTOM MANAGERS ---
16-
"customManagers": [
14+
customManagers: [
1715
{
18-
"customType": "regex",
19-
"fileMatch": [
20-
"^cloudflared\\.version$"
21-
],
22-
"matchStrings": [
23-
"^(?<currentValue>\\d{4}\\.\\d+\\.\\d+)$"
24-
],
25-
"datasourceTemplate": "github-releases",
26-
"depNameTemplate": "cloudflare/cloudflared",
27-
"versioningTemplate": "loose"
28-
}
16+
customType: "regex",
17+
fileMatch: ["^cloudflared\\.version$"],
18+
matchStrings: ["^(?<currentValue>\\d{4}\\.\\d+\\.\\d+)$"],
19+
datasourceTemplate: "github-releases",
20+
depNameTemplate: "cloudflare/cloudflared",
21+
versioningTemplate: "loose",
22+
},
2923
],
3024
// --- 3. PACKAGE RULES ---
31-
"packageRules": [
25+
packageRules: [
26+
// "fix" = Patch, "feat" = Minor, "chore" = Silence
3227
// RULE 1: Global Silence (Default to chore)
3328
{
34-
"matchPackagePatterns": [
35-
"*"
36-
],
37-
"semanticCommitType": "chore"
29+
matchPackagePatterns: ["*"],
30+
semanticCommitType: "chore",
3831
},
3932
// RULE 2: Cloudflare Exception
4033
{
41-
"matchDepNames": [
42-
"cloudflare/cloudflared"
43-
],
44-
// "fix" = Patch, "feat" = Minor
45-
"semanticCommitType": "fix",
46-
"groupName": null
34+
matchDepNames: ["cloudflare/cloudflared"],
35+
semanticCommitType: "fix",
4736
},
48-
// RULE 3: Noise Reduction
37+
// RULE 3: Python (manual review required)
4938
{
50-
"matchUpdateTypes": [
51-
"minor",
52-
"patch"
53-
],
54-
"excludeDepNames": [
55-
"cloudflare/cloudflared"
56-
],
57-
"groupName": "all non-major dependencies"
58-
}
59-
]
60-
}
39+
matchDepNames: ["python"],
40+
automerge: false,
41+
},
42+
],
43+
}

0 commit comments

Comments
 (0)