From 3ebc490bb4f99eacf2b31a9ea94fb233eda8545b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 26 Jun 2022 15:39:51 -0700 Subject: feat(tools/gerrit-hook): run CI pipeline for all the repositories Change-Id: Ib0e376366ea684a254b7993a746e082e38849daa Reviewed-on: https://cl.fcuny.net/c/world/+/521 Tested-by: CI Reviewed-by: Franck Cuny --- tools/gerrit-hook/gerrit.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/gerrit-hook/gerrit.go') diff --git a/tools/gerrit-hook/gerrit.go b/tools/gerrit-hook/gerrit.go index 6a23527..04de53d 100644 --- a/tools/gerrit-hook/gerrit.go +++ b/tools/gerrit-hook/gerrit.go @@ -76,9 +76,9 @@ func triggerForPatchsetCreated() (*buildTrigger, error) { flag.Parse() - // for now we only care about the project named `world' and the - // branch named 'main' - if trigger.project != "world" || trigger.branch != "main" { + // if the name of the targetted branch is not `main', we don't + // care about running the tests. + if trigger.branch != "main" { return nil, nil } -- cgit v1.2.3