Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit 2ddc192

Browse files
authored
Improve renovate (#392)
1 parent 4e3e521 commit 2ddc192

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.github/renovate.json5

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"branchPrefix": "renovate/",
4-
"labels": ["renovate"],
4+
"labels": ["renovate", "renovate/{{depName}}", "renovate/{{updateType}}"],
55
"packageRules": [
66
{
7-
"matchUpdateTypes": ["major"],
8-
"addLabels": ["renovate/major"],
7+
"matchUpdateTypes": ["patch"],
8+
"automergeType": "branch",
9+
"automerge": true,
910
},
11+
1012
{
11-
"matchUpdateTypes": ["minor"],
12-
"addLabels": ["renovate/minor"],
13+
"description": "Ignore frequent renovate updates",
14+
"matchPackageNames": ["renovatebot/github-action"],
15+
"matchUpdateTypes": ["patch"],
16+
"enabled": false
1317
},
18+
1419
{
15-
"matchUpdateTypes": ["patch"],
16-
"ignoreTests": true,
20+
"matchPackageNames": ["renovatebot/github-action"],
21+
"matchUpdateTypes": ["minor"],
1722
"automergeType": "branch",
1823
"automerge": true,
1924
},
20-
{
21-
"matchDatasources": ["docker"],
22-
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
23-
},
2425
],
2526
"prBodyTemplate": "{{{table}}}{{{notes}}}{{{changelogs}}}",
2627
"rebaseWhen": "behind-base-branch",
@@ -31,7 +32,7 @@
3132
"^ansible/win-simple\\.yml$",
3233
],
3334
"matchStrings": [
34-
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*(=|:\\s+)\"?(?<currentValue>.+?)\"?\\s",
35+
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.+?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*(=|:\\s+)\"?(?<currentValue>.+?)\"?\\s",
3536
],
3637
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}",
3738
},

0 commit comments

Comments
 (0)