reviewer

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReviewChange

func ReviewChange(ctx context.Context, t *taskspb.ChangeReviewTask) error

ReviewChange reviews a CL and then either gives a Bot-Commit +1 label or leaves a comment explain why the CL shouldn't be passed and removes itself as a reviewer. For CLs that are not reverts/relands/cherry picks, each file that fails to match a BenignFilePattern will be called out in the comment the Rubber Stamper leaves on the CL. For CLs that are reverts/relands/cherry picks, and fail to pass the “clean revert, reland, cherry pick” set of rules, and also fail the BenignFilePattern checks, the rubber stamper will prepend the list of nonconformant files with a note that this CL is not a clean revert/reland/cherrypick, and provide a shortlink to more documentation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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