-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onboarding commit message ignores lowercase char #22346
Comments
I guess the problem might be here? |
@rarkins is there any update about this? Thank you. |
No. PRs welcome |
@rarkins I ran a test and it looks like the issue is that the logic when the prefix is empty:
so the FormatSubject() func
will always uppercase the first letter. |
I need to ask a question about the tests. Why we always uppercase the message first char?
Also the semantic commit message:
why can't we just keep the first letter as it is? |
|
@zharinov Yes, still needed; currently implementing Renovate Bot on GitLab (Private) Renovate:37.74. I finally have been able to fix this with the following config: {
commitMessageLowerCase: "auto",
commitMessagePrefix: "chore",
semanticCommits: "enabled",
semanticCommitType: "chore",
semanticCommitScope: "deps",
onboarding: true,
onboardingCommitMessage: "add renovate configuration",
onboardingPrTitle: "configure renovate"
} |
Discussed in #22342
Originally posted by simone-dandreta May 22, 2023
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
37.0.0
If you're self-hosting Renovate, select which platform you are using.
github.com
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
My default.json file is:
{ "extends": ["config:base", ":dependencyDashboard"], "enabledManagers": ["dockerfile"], "commitMessageAction": "bump", "onboardingCommitMessage": "trivial: Configure Renovate" }
but when I look at the onboarding commit message I see:
Trivial: Configure Renovate
with capital 'T'and this breaks our CI checks on semantic commit messages.
Am I missing something?
What you tried so far.
You can look at the default.json file posted above.
Relevant debug logs
Logs
The text was updated successfully, but these errors were encountered: