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

New setting "commit message prefix" #1146

@shuebner

Description

@shuebner

🚀 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions