pr

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeToLabel = map[string]string{
		"fix":     "bug",
		"feat":    "enhancement",
		"feature": "enhancement",
		"docs":    "documentation",
		"task":    "chore",
	}
)

Functions

func TemplatePR

func TemplatePR(
	b models.Branch,
	prCfg config.PullRequestConfig,
	confirm bool,
	tokenSeparators []string,
	commits []string,
	aiSummarizer func() (string, error),
) (*models.PullRequest, error)

Types

type AISummarizer added in v0.4.0

type AISummarizer func() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL