From 45d46af8c2c38355aaffc68e98473cd73121d33e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20OLIVIER?= <cedric3.olivier@orange.com>
Date: Wed, 6 Oct 2021 19:25:18 +0000
Subject: [PATCH] fix: use master or main for production env

---
 templates/gitlab-ci-helm.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/gitlab-ci-helm.yml b/templates/gitlab-ci-helm.yml
index 4fde5d2..aded8f8 100644
--- a/templates/gitlab-ci-helm.yml
+++ b/templates/gitlab-ci-helm.yml
@@ -76,7 +76,7 @@ variables:
   HELM_REVIEW_ENVIRONMENT_SCHEME: "https"
 
   # default production ref name (pattern)
-  PROD_REF: '/^master$/'
+  PROD_REF: '/^(master|main)$/'
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'
 
-- 
GitLab