From c865ad5731e7b5dd3f8d3b38ce3d6272cd212324 Mon Sep 17 00:00:00 2001 From: hypervtechnics Date: Wed, 2 Mar 2022 09:20:50 +0100 Subject: [PATCH] feat: add an option for message selector issue: #45 --- sv/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sv/config.go b/sv/config.go index af19378..694b815 100644 --- a/sv/config.go +++ b/sv/config.go @@ -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"`