Skip to content

Commit 3147279

Browse files
DjinnSGuillaume Leccese
andauthored
fix(renovate): lowercase commit subject to satisfy commitlint (#937)
Renovate's packageRules combine a semantic commitMessagePrefix (e.g. "chore(docker):") with a capitalized groupName (e.g. "Docker images"), producing commit subjects like "chore(docker): Update Docker images". commitlint's subject-case rule rejects the capitalized subject that follows the prefix, failing the commitlint CI job on every PR raised by this packageRule (e.g. PR #924). commitMessageLowerCase: "auto" makes Renovate lowercase the first word of the subject after the semantic prefix, fixing this for the Docker group and any other capitalized groupName (GitHub Actions, E2E Docker images) without changing how groups are displayed. Co-authored-by: Guillaume Leccese <guillaume.leccese@theodo.com>
1 parent b9ea9b4 commit 3147279

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"ignorePresets": [
1010
":semanticPrefixFixDepsChoreOthers"
1111
],
12+
"commitMessageLowerCase": "auto",
1213
"packageRules": [
1314
{
1415
"matchManagers": [

0 commit comments

Comments
 (0)