Skip to content

Commit

Permalink
Remove the comment-added gerrit trigger for zuul user vote
Browse files Browse the repository at this point in the history
It does not make sens to trigger the check pipeline for such events.

Change-Id: I3a68377e86939dbd03e537db0e6e888b8d34aa20
  • Loading branch information
morucci committed Nov 20, 2024
1 parent 4639008 commit c28f0c5
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions controllers/libs/zuulcf/zuulcf.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit c28f0c5

Please sign in to comment.