Documentation
¶
Overview ¶
Package commitpipeline handles all work related to commits
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Path to repository
Path string
// UpstreamBranch is the branch against which to check
UpstreamBranch string
// Limit will limit how far back to check on upstream branch.
Limit int
// AllCommits will check all the commits on the upstream branch. Regardless of Limit setting.
AllCommits bool
Strict bool
// RequiredScopes will check scope in commit message against list of required ones
RequiredScopes []string
}
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
func (*Pipeline) Run ¶
func (pipeline *Pipeline) Run() (*dispatcher.PipelineSuccess, error)
Click to show internal directories.
Click to hide internal directories.