diff options
author | Franck Cuny <franck@fcuny.net> | 2022-06-26 15:39:51 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-26 15:40:31 -0700 |
commit | 3ebc490bb4f99eacf2b31a9ea94fb233eda8545b (patch) | |
tree | f93ea0b44a0eb423c95f0954a74e268544be3499 /tools/gerrit-hook | |
parent | fix(modules/cgit): correct alias configuration for robots.txt (diff) | |
download | world-3ebc490bb4f99eacf2b31a9ea94fb233eda8545b.tar.gz |
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 <franck@fcuny.net>
Diffstat (limited to 'tools/gerrit-hook')
-rw-r--r-- | tools/gerrit-hook/gerrit.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |