Support for different messages in commit messages and PR titles. #24726
SPGoding
started this conversation in
Suggest an Idea
Replies: 3 comments
-
So you want emoji for commit messages but Unicode for PR titles? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This isn't possible via config alone - will need a new feature - so I'm moving this issue to the main repo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why I Request This Feature
I want to use Gitmoji in my commit messages and here is my config.
The commit message is perfect:
But the PR titles are really ugly because
:arrow_up:
is not parsed (Maybe this is a bug of GitHub):To prevent this, I expect Renovate to provide methods of setting different messages in git commits and PR titles, like
commitMessagePrefix
for commit messages andprTitlePrefix
for PR titles.Possible Changes
New config options:
prTitle
"{{{prTitlePrefix}}} {{{prTitleAction}}} {{{prTitleTopic}}} {{{prTitleExtra}}} {{{prTitleSuffix}}}"
prTitleAction
"{{{commitMessageAction}}}"
prTitleExtra
"{{{commitMessageExtra}}}"
prTitlePrefix
"{{{commitMessagePrefix}}}"
prTitleSuffix
"{{{commitMessageSuffix}}}"
prTitleTopic
"{{{commitMessageTopic}}}"
So it's possible to write something like this in the renovate config file:
When all
prTitleXXX
s are omitted, the PR title will be exactly the same as the commit message (current behaviour).❤️ Thanks!
Beta Was this translation helpful? Give feedback.
All reactions