Documentation
¶
Index ¶
Constants ¶
View Source
const Marker = "<!-- zero-auto-review -->"
Variables ¶
This section is empty.
Functions ¶
func BuildMarkdown ¶
func BuildMarkdown(input SummaryInput) string
func FormatOutcome ¶
func HasBlockingChecks ¶
func IsBlocking ¶
func ParseChangedFiles ¶
Types ¶
type Check ¶
type Check struct {
Label string `json:"label"`
Command string `json:"command"`
Outcome Outcome `json:"outcome"`
}
func BuildChecksFromEnv ¶
type Outcome ¶
type Outcome string
const ( OutcomeSuccess Outcome = "success" OutcomeFailure Outcome = "failure" OutcomeCancelled Outcome = "cancelled" OutcomeSkipped Outcome = "skipped" OutcomeTimedOut Outcome = "timed_out" OutcomeActionRequired Outcome = "action_required" OutcomeNeutral Outcome = "neutral" OutcomeUnknown Outcome = "unknown" )
func NormalizeOutcome ¶
type SummaryInput ¶
func BuildSummaryInputFromEnv ¶
func BuildSummaryInputFromEnv(env map[string]string) SummaryInput
Click to show internal directories.
Click to hide internal directories.