diff --git a/templates/gitlab-ci-gitleaks.yml b/templates/gitlab-ci-gitleaks.yml index 5892176c27a4d2e7485736d66673a465fc109794..a7bfbde90e0e319351e288b997368c0e0875c431 100644 --- a/templates/gitlab-ci-gitleaks.yml +++ b/templates/gitlab-ci-gitleaks.yml @@ -20,7 +20,7 @@ variables: GITLEAKS_QUICK_DEPTH: "10" GITLEAKS_QUICK_ARGS: "--verbose" # default production ref name (pattern) - PROD_REF: '/^master$/' + PROD_REF: '/^(master|main)$/' # default integration ref name (pattern) INTEG_REF: '/^develop$/'