From 4bfbfe596561f67ec522b96079074460d8d7362d 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:53:41 +0000 Subject: [PATCH] fix: use master or main for production env --- templates/gitlab-ci-sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitlab-ci-sonar.yml b/templates/gitlab-ci-sonar.yml index 4b55a20..2ce63e9 100644 --- a/templates/gitlab-ci-sonar.yml +++ b/templates/gitlab-ci-sonar.yml @@ -40,7 +40,7 @@ variables: -Dsonar.gitlab.ref_name=${CI_COMMIT_REF_NAME} # default production ref name (pattern) - PROD_REF: '/^master$/' + PROD_REF: '/^(master|main)$/' # default integration ref name (pattern) INTEG_REF: '/^develop$/' -- GitLab