diff --git a/templates/gitlab-ci-cypress.yml b/templates/gitlab-ci-cypress.yml
index 911ea83923b48e1a42687116c6cc7d90dba83d84..b534dca3ea0c5db519cc6d528a0f1aa7ee4b193f 100644
--- a/templates/gitlab-ci-cypress.yml
+++ b/templates/gitlab-ci-cypress.yml
@@ -18,7 +18,7 @@ variables:
   CYPRESS_IMAGE: "cypress/included:4.6.0"
   CYPRESS_PROJECT_DIR: "."
   # default production ref name (pattern)
-  PROD_REF: '/^master$/'
+  PROD_REF: '/^(master|main)$/'
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'