Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ?with_no_mergerequet and disable builds without merge request by default #399

Merged
merged 1 commit into from
Oct 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion api/yolopb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package yolo;

import "google/api/annotations.proto";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
import "github.com/golang/protobuf/ptypes/timestamp/timestamp.proto";
import "google/protobuf/timestamp.proto";

option go_package = "berty.tech/yolo/go/pkg/yolopb";
option (gogoproto.sizer_all) = true;
Expand Down Expand Up @@ -97,6 +97,9 @@ message BuildList {

// filter on branch
repeated string branch = 13;

// filter builds with merge requests
bool with_no_mergerequest = 14;
}
message Response {
repeated Build builds = 1;
Expand All @@ -108,6 +111,8 @@ message BuildListFilters {
message Response {
repeated Entity entities = 1;
repeated Project projects = 2;
// FIXME: authors
// FIXME: branchs?
}
}

Expand Down
2 changes: 1 addition & 1 deletion go/gen.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading