about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/besadii/main.go210
1 files changed, 7 insertions, 3 deletions
diff --git a/ops/besadii/main.go2 b/ops/besadii/main.go2
index 27dd76b42f..998c677010 100644
--- a/ops/besadii/main.go2
+++ b/ops/besadii/main.go2
@@ -223,9 +223,10 @@ func refUpdatedMain() {
 //
 // https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#review-input
 type reviewInput struct {
-	Message               string         `json:"message"`
-	Labels                map[string]int `json:"labels"`
-	OmitDuplicateComments bool           `json:"omit_duplicate_comments"`
+	Message                        string         `json:"message"`
+	Labels                         map[string]int `json:"labels"`
+	OmitDuplicateComments          bool           `json:"omit_duplicate_comments"`
+	IgnoreDefaultAttentionSetRules bool           `json:"ignore_default_attention_set_rules"`
 }
 
 func postCommandMain() {
@@ -269,6 +270,9 @@ func postCommandMain() {
 		Labels: map[string]int{
 			"Verified": verified,
 		},
+
+		// Update the attention set if we are failing this patchset.
+		IgnoreDefaultAttentionSetRules: verified == 1,
 	}
 
 	body, _ := json.Marshal(review)