Skip to content

Commit e0a7ff8

Browse files
authored
chore: configure dependabot to use fix commit type when updating depedencies (#736)
1 parent 5ce5e51 commit e0a7ff8

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

.github/renovate.json

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,49 @@
33
"globalExtends": [
44
"config:base"
55
],
6-
"extends": ["group:allNonMajor", "schedule:monthly"],
6+
"semanticCommits": "enabled",
7+
"extends": [
8+
"group:allNonMajor",
9+
"schedule:monthly"
10+
],
711
"packageRules": [
812
{
913
"description": "Create a PR whenever there is a new major version",
1014
"matchUpdateTypes": [
1115
"major"
1216
]
17+
},
18+
{
19+
"description": "Use releasable commit type for runtime dependency updates",
20+
"matchManagers": [
21+
"npm"
22+
],
23+
"matchDepTypes": [
24+
"dependencies",
25+
"optionalDependencies",
26+
"peerDependencies"
27+
],
28+
"semanticCommitType": "fix",
29+
"semanticCommitScope": "deps"
30+
},
31+
{
32+
"description": "Keep development-only dependency updates non-releasable",
33+
"matchManagers": [
34+
"npm"
35+
],
36+
"matchDepTypes": [
37+
"devDependencies"
38+
],
39+
"semanticCommitType": "chore",
40+
"semanticCommitScope": "deps"
1341
}
1442
],
1543
"ignorePaths": [
1644
"docs/**",
1745
"experimental/**"
1846
],
1947
"pinVersions": false,
20-
"ignoreDeps": ["typescript"]
21-
}
48+
"ignoreDeps": [
49+
"typescript"
50+
]
51+
}

0 commit comments

Comments
 (0)