Documentation ¶ Overview ¶ package prpipeline handles all actions related to PR checking Index ¶ type Options type PRStyle type Pipeline func New(options Options) (*Pipeline, error) func (pipeline *Pipeline) Name() string func (pipeline *Pipeline) Run() (*dispatcher.PipelineSuccess, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { // Path to the git repository Path string // Styles are the styles of PR title to enforce (can be multiple) Styles []PRStyle // Keys checks for required keys in the PR title Keys []string } type PRStyle ¶ type PRStyle = string const ( JiraStyle PRStyle = "jira" ConventionalStyle PRStyle = "conventional" ) type Pipeline ¶ type Pipeline struct { // contains filtered or unexported fields } Pip func New ¶ func New(options Options) (*Pipeline, error) func (*Pipeline) Name ¶ func (pipeline *Pipeline) Name() string func (*Pipeline) Run ¶ func (pipeline *Pipeline) Run() (*dispatcher.PipelineSuccess, error) Source Files ¶ View all Source files docs.gopipeline.gorun.gotitle.gotypes.go Click to show internal directories. Click to hide internal directories.