From 69c64136caae114e778f6afca7f6db3b84e29856 Mon Sep 17 00:00:00 2001 From: Nick Snyder Date: Thu, 29 Feb 2024 13:36:04 -0500 Subject: [PATCH] Add CommitCheckStatus filter to ListLabelHistory in v1 --- buf/registry/module/v1/label_service.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buf/registry/module/v1/label_service.proto b/buf/registry/module/v1/label_service.proto index c5a6aaf..d5dae07 100644 --- a/buf/registry/module/v1/label_service.proto +++ b/buf/registry/module/v1/label_service.proto @@ -156,6 +156,10 @@ message ListLabelHistoryRequest { // TODO: We are purposefully not making the default the zero enum value, however // we may want to consider this. Order order = 4 [(buf.validate.field).enum.defined_only = true]; + // Only return Commits that have one of these CommitCheckStatus values for this label. + // + // If not set, Commits with any CommitCheckStatus value are returned. + repeated CommitCheckStatus commit_check_statuses = 6 [(buf.validate.field).repeated.items.enum.defined_only = true]; } message ListLabelHistoryResponse {