Help us shape the future of Go! Take the 2026 Go Developer Survey

ci

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ci reads whether a commit's required checks failed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Failed

func Failed(ctx context.Context, gh *github.Client, owner, repo, base, sha string, extra []string, ignore string) ([]string, error)

Failed returns the required checks that finished as failures on sha. Required checks are the base branch's ruleset checks plus extra, from config. Classic branch protection needs admin access to read, so repos using it name their checks in config. ignore is LGTM's own check, which is never required of itself.

Checks still running don't count: LGTM often runs alongside CI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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