util

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CheckRunName        = "Work in Progress"
	WipLabelName        = "wip"
	WipLabelColor       = "FBCA04"
	WipLabelDescription = "Work in progress"
)

Variables

This section is empty.

Functions

func ClearWip

func ClearWip(userName, repositoryName, branch, commit string, installationId int64, checkRunId int64)

func GetCheckRunId

func GetCheckRunId(owner, repository, branch string, installationId int64) int64

func GetGithubClient

func GetGithubClient(installationId int64) (*github.Client, context.Context)

func SetAsWip

func SetAsWip(userName, repositoryName, branch, commit string, installationId int64) *github.CheckRun

func ToggleWipLabelOnIssue

func ToggleWipLabelOnIssue(userName, repositoryName string, issueNumber int, installationId int64, addLabel bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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