Skip to content

Commit 4a8098e

Browse files
committed
fix: package rule commit types
Signed-off-by: Anthony Rabbito <hello@anthonyrabbito.com>
1 parent ebe4fb4 commit 4a8098e

1 file changed

Lines changed: 75 additions & 2 deletions

File tree

‎default.json‎

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended",
5-
"helpers:pinGitHubActionDigests"
5+
"helpers:pinGitHubActionDigests",
6+
"config:recommended",
7+
"docker:enableMajor",
8+
"helpers:pinGitHubActionDigestsToSemver",
9+
":automergeBranch",
10+
":dependencyDashboard",
11+
":disableRateLimiting"
612
],
713
"postUpdateOptions": [
8-
"gomodTidy"
14+
"gomodTidyAll"
915
],
1016
"packageRules": [
1117
{
@@ -26,6 +32,73 @@
2632
"golang"
2733
],
2834
"rangeStrategy": "bump"
35+
},
36+
{
37+
"matchUpdateTypes": [
38+
"major"
39+
],
40+
"semanticCommitType": "feat",
41+
"commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:",
42+
"commitMessageExtra": "({{currentVersion}} ➔ {{newVersion}})"
43+
},
44+
{
45+
"matchUpdateTypes": [
46+
"minor"
47+
],
48+
"semanticCommitType": "feat",
49+
"commitMessageExtra": "({{currentVersion}} ➔ {{newVersion}})"
50+
},
51+
{
52+
"matchUpdateTypes": [
53+
"patch"
54+
],
55+
"semanticCommitType": "fix",
56+
"commitMessageExtra": "({{currentVersion}} ➔ {{newVersion}})"
57+
},
58+
{
59+
"matchUpdateTypes": [
60+
"digest"
61+
],
62+
"semanticCommitType": "fix",
63+
"commitMessageExtra": "({{currentDigestShort}} ➔ {{newDigestShort}})"
64+
},
65+
{
66+
"matchDatasources": [
67+
"docker"
68+
],
69+
"semanticCommitScope": "container",
70+
"commitMessageTopic": "image {{depName}}"
71+
},
72+
{
73+
"matchDatasources": [
74+
"helm"
75+
],
76+
"semanticCommitScope": "helm",
77+
"commitMessageTopic": "chart {{depName}}"
78+
},
79+
{
80+
"matchManagers": [
81+
"github-actions"
82+
],
83+
"semanticCommitType": "ci",
84+
"semanticCommitScope": "github-action",
85+
"commitMessageTopic": "action {{depName}}"
86+
},
87+
{
88+
"matchDatasources": [
89+
"github-releases"
90+
],
91+
"semanticCommitType": "chore",
92+
"semanticCommitScope": "github-release",
93+
"commitMessageTopic": "release {{depName}}"
94+
},
95+
{
96+
"matchManagers": [
97+
"renovate-config"
98+
],
99+
"semanticCommitType": "chore",
100+
"semanticCommitScope": "renovate-config",
101+
"commitMessageTopic": "config {{depName}}"
29102
}
30103
]
31104
}

0 commit comments

Comments
 (0)