Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventInfo ¶
type EventInfo struct {
Ignore bool `json:"ignore"`
RepoOwner string `json:"owner"`
RepoName string `json:"repo"`
RepoDefaultRef string `json:"default_ref"`
Sha string `json:"commit_sha"`
PrNum int `json:"pr"`
ChangeRef string `json:"change_ref"`
BaseRef string `json:"base_ref"`
Refresh bool `json:"refresh"`
ChangedFiles []string `json:"changed_files,omitempty"`
}
Data structure for information passed by github webhook events
func NewEventInfo ¶
func NewEventInfo() EventInfo
func ProcessComment ¶
Processes a comment created event received from github
func ProcessPullRequest ¶
Processes a pull_request event received from github
Click to show internal directories.
Click to hide internal directories.