pullrequest

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package pullrequest checks pull requests for specified labels

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Labels added in v0.5.3

type Labels []string

Labels represents a collection of GitHub labels, e.g. all the labels in a pull request

func (Labels) HasExactlyOneOf added in v0.5.3

func (l Labels) HasExactlyOneOf(specified []string) (bool, string)

HasExactlyOneOf indicates whether the labels contain exactly one of the specified labels, along with a report describing the result.

type PullRequest added in v0.5.3

type PullRequest struct {
	Labels Labels
	// contains filtered or unexported fields
}

PullRequest encapsulates a GitHub Pull Request

func New added in v0.5.3

func New(repoOwner string, repo string, prNumber int, ghToken string) *PullRequest

New creates a new PullRequest

Jump to

Keyboard shortcuts

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