qualitygate

package
v1.234.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bench

type Bench mg.Namespace

Bench adds the trusted publisher to the benchmark namespace.

func (Bench) Report

func (Bench) Report(repo, runID string) error

Report validates a benchmark run and updates the composite quality gate.

type Quality

type Quality mg.Namespace

Quality maintains the composite PR quality report and readiness labels.

func (Quality) Reconcile

func (Quality) Reconcile(repo string) error

Reconcile trues up every PR a repository-wide event can affect. Scheduled runs reconcile PRs with a recent head commit or no report for their current head and base; merges, milestone and release changes, and manual runs reconcile all open PRs. One failing PR never blocks the rest.

func (Quality) Report

func (Quality) Report(repo string) error

Report refreshes only the PRs associated with the current Actions event, such as a label change or a CI completion for their head. Repository-wide events belong to Reconcile, so a per-PR run never waits behind a true-up.

Jump to

Keyboard shortcuts

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