lgtm

package
v0.0.0-...-2443087 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

lgtm contains the functionality to handle approval from maintainers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) AddRepo

func (h *Handler) AddRepo(owner, name string, quorum int)

func (*Handler) IssueCommentHandler

func (h *Handler) IssueCommentHandler(context *ctx.Context, payload interface{}) error

func (*Handler) PullRequestHandler

func (h *Handler) PullRequestHandler(context *ctx.Context, payload interface{}) error

func (*Handler) PullRequestReviewHandler

func (h *Handler) PullRequestReviewHandler(context *ctx.Context, payload interface{}) error

type Repo

type Repo struct {
	Owner, Name string
	// The number of LGTM's a PR must get before going state: "success"
	Quorum int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL