Documentation
¶
Overview ¶
internal/pr/pr.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveBase ¶
ResolveBase returns the base branch to diff against. If explicit is non-empty it is returned unchanged. Otherwise gh repo view is used; on any failure "main" is returned.
Types ¶
type Config ¶
type Config struct {
Base string // resolved base branch (never empty by the time Run is called)
Diff string
Log string
Stat string
Runner Runner
}
Config holds all inputs for a pr run.
Click to show internal directories.
Click to hide internal directories.