github

package
v1.6.41 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package github encapsulates GitHub Action data and behaviour

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v0.5.3

type Action struct {
	Stdout io.Writer // writer to write stdout messages to
	Stderr io.Writer // writer to write stderr messages to
	// contains filtered or unexported fields
}

Action encapsulates the Label Checker GitHub Action.

func (*Action) CheckLabels added in v0.5.6

func (a *Action) CheckLabels(stdout, stderr io.Writer) int

CheckLabels checks pull requests for the specified GitHub labels. It returns the exit code that callers should exit with - 0 if the checks were successful and 1 if they failed.

Directories

Path Synopsis
Package pullrequest checks pull requests for specified labels
Package pullrequest checks pull requests for specified labels

Jump to

Keyboard shortcuts

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