Skip to content

Commit 0a5e5ed

Browse files
Add config for custom messages
1 parent 16ac6e3 commit 0a5e5ed

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

pkg/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ type issuectlConfig struct {
3838
Profiles map[ProfileName]*Profile `yaml:"profiles,omitempty"`
3939
Backends map[BackendConfigName]*BackendConfig `yaml:"backends,omitempty"`
4040
GitUsers map[GitUserName]*GitUser `yaml:"gitUsers,omitempty"`
41+
Config TextConfig `yaml:"config,omitempty"`
4142

4243
_persistenceMode string `yaml:"-"`
4344
}

pkg/types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,9 @@ type IssueConfig struct {
8585
Dir string `yaml:"dir"`
8686
Profile ProfileName `yaml:"profile"`
8787
}
88+
89+
type TextConfig struct {
90+
StartMessage string `yaml:"startMessage"`
91+
CloseMessage string `yaml:"closeMessage"`
92+
OpenPRMessage string `yaml:"openPRMessage"`
93+
}

0 commit comments

Comments
 (0)