Documentation
¶
Index ¶
- Variables
- func LoadEvent(ctx context.Context) (*event.Detail, error)
- func LoadTestEvent(ctx context.Context, env TestEnv) (*event.Detail, error)
- func ParseFile(ctx context.Context, p *message.Printer, event string, payloadPath string) (*event.Detail, error)
- func ParseWorkflow(ctx context.Context, p *message.Printer) (*event.Detail, error)
- func Report(ctx context.Context, p *message.Printer, workflow, status, runID string, ...) (*event.Detail, error)
- func ReportFile(ctx context.Context, p *message.Printer, ...) (*event.Detail, error)
- func ReportWorkflowStatus(ctx context.Context, p *message.Printer, status string) (*event.Detail, error)
- type CheckRun
- type Common
- type Create
- type Delete
- type JobStatus
- type PullRequest
- type PullRequestReview
- type PullRequestReviewComment
- type Push
- type TestEnv
Constants ¶
This section is empty.
Variables ¶
View Source
var Actions = env{}
Functions ¶
func ParseWorkflow ¶
func ReportFile ¶
Types ¶
type CheckRun ¶
type CheckRun struct {
Common
CheckRun struct {
Name string
Output struct {
Title string
Summary string
}
CheckSuite struct {
App struct {
Name string
AvatarURL string `json:"avatar_url"`
}
HeadBranch string `json:"head_branch"`
HeadSHA string `json:"head_sha"`
} `json:"check_suite"`
} `json:"check_run"`
}
type Common ¶
type Common struct {
Action string
Sender struct {
Login string
AvatarURL string `json:"avatar_url"`
}
Repository struct {
FullName string `json:"full_name"`
DefaultBranch string `json:"default_branch"`
URL string `json:"html_url"`
}
Organization struct {
Login string
}
Ref string
HeadCommit struct {
ID string
URL string
} `json:"head_commit"`
}
type PullRequest ¶
type PullRequestReview ¶
type PullRequestReviewComment ¶
type PullRequestReviewComment struct{}
Click to show internal directories.
Click to hide internal directories.