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 { diff --git a/buf/registry/module/v1beta1/label_service.proto b/buf/registry/module/v1beta1/label_service.proto index 4491946..f73e074 100644 --- a/buf/registry/module/v1beta1/label_service.proto +++ b/buf/registry/module/v1beta1/label_service.proto @@ -164,6 +164,10 @@ message ListLabelHistoryRequest { // // If not set, the latest DigestType is used, currently B5. DigestType digest_type = 5 [(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 {