diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7b3d0a14e59b08bc631e82b3eb3c35d3bf43821e..ec656d1544acfeceb120213547d4fdc4542dfd73 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,7 +26,7 @@ stages:
 .build: 
   only: 
     refs:
-      - master
+      - main
       - devel
       - mvp
       - jsc-ci
@@ -197,7 +197,7 @@ build:sage:nomio:
      - $GITLAB_INSTANCE == "JSC" # this variable is set on JSC in the project config Web UI
  only:
   refs:
-   - master
+   - main
    - devel
  variables:
    CI_DEBUG_TRACE: "true"