From c1aedf4cea4379e4b547668983bdcefac70714a1 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 13 Jun 2024 09:56:38 +0200 Subject: [PATCH] phase1: make IsNoMasterBuild function more flexible Work with both master/main Signed-off-by: Paul Spooren Signed-off-by: Christian Marangi --- phase1/master.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 41968d6..cefeaf0 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -563,7 +563,8 @@ c["schedulers"].append( def IsNoMasterBuild(step): - return step.getProperty("branch") != "main" + branch = step.getProperty("branch") + return branch not in ["main", "master"] def IsUsignEnabled(step): -- 2.30.2