From c28f0c5f89b19ab1ca81fba5f2f66e84b9bd49e5 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Fri, 15 Nov 2024 11:35:47 +0100 Subject: [PATCH] Remove the comment-added gerrit trigger for zuul user vote It does not make sens to trigger the check pipeline for such events. Change-Id: I3a68377e86939dbd03e537db0e6e888b8d34aa20 --- controllers/libs/zuulcf/zuulcf.go | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/controllers/libs/zuulcf/zuulcf.go b/controllers/libs/zuulcf/zuulcf.go index fd9e803..83dd34b 100644 --- a/controllers/libs/zuulcf/zuulcf.go +++ b/controllers/libs/zuulcf/zuulcf.go @@ -517,29 +517,6 @@ func GetTriggerCheckByDriver(driver string, connection string) (PipelineGenericT Event: "comment-added", Comment: "(?i)^(Patch Set [0-9]+:)?( [\\w\\+-]*)*(\\n\\n)?\\s*(recheck|reverify)", }, - { - Event: "comment-added", - GitTrigger: PipelineTriggerGit{ - Gerrit: PipelineTriggerGitGerrit{ - Approval: []PipelineRequireApproval{ - { - Gerrit: PipelineGerritRequirement{ - Username: "zuul", - Verified: []GerritVotePoint{ - GetZuulPipelineReporterVerified("-1"), - GetZuulPipelineReporterVerified("-2"), - }, - }, - }, - }, - }, - Approval: []PipelineRequireGerritApproval{ - { - Workflow: GetGerritWorkflowValue("1"), - }, - }, - }, - }, }, } case "gitlab":