Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultNoteRegex = "[\\*]*([^\\*\r\n:]+)[\\*]*:\\s+```[^\n]*\n((?s).*?)\n```"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action struct {
Labels actions.StringSlice
NoteTitles actions.StringSlice
LabelMatches actions.StringSlice
MilestoneMatches actions.StringSlice
NoteRegex string
Milestone string
AnyMilestone bool
RequireAny bool
RequireAll bool
MinApprovals int
RequireApprovalsBy actions.StringSlice
GetPullRequestBody func(string, string, int) (string, error)
}
func (*Action) HandlePullRequest ¶
func (c *Action) HandlePullRequest(owner, repo string, pullRequest *github.PullRequest) error
Click to show internal directories.
Click to hide internal directories.