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.