NuKeeperDotNet / NuKeeper

Automagically update nuget packages in .NET projects
Apache License 2.0
540 stars 129 forks source link

New setting "commit message prefix" #1146

Open shuebner opened 2 years ago

shuebner commented 2 years ago

🚀 Feature Requests

I would like a way to set a commit message prefix for the commits that nukeeper generates. There is already a branch name template, but I could not find a way to change the commit message. I have encountered various projects where github is set up with a CI mechanism that checks that all commit messages on a PR branch adhere to a certain format. Most of the time this is about an issue number preceeding the actual message text, like "1234: added foo". Because of this, PRs created by nukeeper will be "red" and unmergeable because of the "wrong" message format.

Contextualize the feature

I propose a new settings category "CommitSettings", because it does not seem to fit well with any of the existing ones.

Describe the feature

Add a new option "commitmessageprefix" defaulting to empty string. The value is then prepended to all generated commit messages.

Platforms affected (mark all that apply)