0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-21 12:00:40 +00:00

feat: add an option for message selector

issue: #45
This commit is contained in:
hypervtechnics 2022-03-02 09:20:50 +01:00
parent cf43b2af4e
commit c865ad5731

View File

@ -5,6 +5,7 @@ package sv
// CommitMessageConfig config a commit message.
type CommitMessageConfig struct {
Types []string `yaml:"types,flow"`
MessageSelector string `yaml:"selector"`
Scope CommitMessageScopeConfig `yaml:"scope"`
Footer map[string]CommitMessageFooterConfig `yaml:"footer"`
Issue CommitMessageIssueConfig `yaml:"issue"`