status

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidCombinedStatusResponse = errors.New("github combined status response is invalid")
	ErrInvalidCheckRunResponse       = errors.New("github checkRun response is invalid")
)

Functions

func CreateValidator

func CreateValidator(c github.Client, opts ...Option) (validators.Validator, error)

Types

type DebugLog added in v1.0.1

type DebugLog func(format string, args ...interface{})

DebugLog is called with debug messages when debug is enabled. Use fmt-style format and args. In GitHub Actions, pass a function that prefixes with "::debug::" so messages show in debug output.

type Option

type Option func(s *statusValidator)

func WithDebugLog added in v1.0.1

func WithDebugLog(f DebugLog) Option

func WithGitHubOwnerAndRepo

func WithGitHubOwnerAndRepo(owner, repo string) Option

func WithGitHubRef

func WithGitHubRef(ref string) Option

func WithIgnoredJobs

func WithIgnoredJobs(names string) Option

func WithSelfJob

func WithSelfJob(name string) Option

Jump to

Keyboard shortcuts

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