cmd

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Label

func Label(options *options.Label) error

Label adds labels to Pull Request.

func Report

func Report(options *options.Report) error

Report create a report and publish on Slack.

func RunGitHubAction added in v1.1.0

func RunGitHubAction(options *options.GitHubAction, gitHubToken string) error

RunGitHubAction Performs the GitHub Action.

Types

type Labeler added in v1.2.0

type Labeler struct {
	DryRun bool
	// contains filtered or unexported fields
}

Labeler adds labels to Pull Request.

func NewLabeler added in v1.2.0

func NewLabeler(client *github.Client, owner, repoName string) *Labeler

NewLabeler creates a new Labeler.

type RulesConfiguration

type RulesConfiguration struct {
	Rules  []label.Rule
	Limits label.Limits
}

RulesConfiguration Stale issues rules configuration.

Jump to

Keyboard shortcuts

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