Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

New setting "commit message prefix" #1146

Open
7 tasks done
shuebner opened this issue Oct 21, 2021 · 0 comments
Open
7 tasks done

New setting "commit message prefix" #1146

shuebner opened this issue Oct 21, 2021 · 0 comments

Comments

@shuebner
Copy link

🚀 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)

  • 🛠️ NuKeeper CLI
  • ✨ GitHub
  • 🤖 AzureDevops
  • 🏁 Bitbucket
  • 🌎 Gitlab
  • 📺 Gitea
  • 🐳 Docker
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant