From 77af297de4d99257ee286d07b1d2837948887ac5 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:47:05 +0000
Subject: [PATCH] fix: use master or main for production env

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

diff --git a/templates/gitlab-ci-python.yml b/templates/gitlab-ci-python.yml
index ea1ff3f..583a323 100644
--- a/templates/gitlab-ci-python.yml
+++ b/templates/gitlab-ci-python.yml
@@ -24,7 +24,7 @@ variables:
   TEST_REQUIREMENTS_FILE: test-requirements.txt
   SETUP_PY_DIR: "."
   # default production ref name (pattern)
-  PROD_REF: '/^master$/'
+  PROD_REF: '/^(master|main)$/'
   # default integration ref name (pattern)
   INTEG_REF: '/^develop$/'
 
-- 
GitLab