Skip to content

Commit 7382607

Browse files
rhyskoedijkRhys Koedijk
andauthored
Convert CommitOptions.IncludeScope from string to bool (#408)
Co-authored-by: Rhys Koedijk <rhys@koedijk.co.nz>
1 parent 78e4849 commit 7382607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/model/job.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ type RequirementSource map[string]any
129129
type Experiment map[string]any
130130

131131
type CommitOptions struct {
132-
Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"`
133-
PrefixDevelopment string `json:"prefix-development,omitempty" yaml:"prefix-development,omitempty"`
134-
IncludeScope *string `json:"include-scope,omitempty" yaml:"include-scope,omitempty"`
132+
Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"`
133+
PrefixDevelopment string `json:"prefix-development,omitempty" yaml:"prefix-development,omitempty"`
134+
IncludeScope bool `json:"include-scope,omitempty" yaml:"include-scope,omitempty"`
135135
}
136136

137137
type Credential map[string]any

0 commit comments

Comments
 (0)