Documentation
¶
Overview ¶
Package action is the GitHub Action entrypoint: it routes a workflow event to scoring or to the human-approval flip.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct {
EventName string
Event []byte
GH *github.Client
// NewDecider builds the model client once config is known. An error
// becomes a needs-human result, not a crash.
NewDecider func(*config.Config) (jev.Decider, error)
CommentAuthor string
Log io.Writer
StepSummary io.Writer // may be nil
SetOutput func(name, value string)
}
Env is everything Run needs from the runner.
Click to show internal directories.
Click to hide internal directories.