From 212ca1e1d3189945dd1f54dc2b49d3f2227e69e1 Mon Sep 17 00:00:00 2001
From: semantic-release-bot <semantic-release-bot@martynus.net>
Date: Thu, 7 Oct 2021 05:52:49 +0000
Subject: [PATCH] chore(release): 1.2.2 [skip ci]

## [1.2.2](https://gitlab.com/to-be-continuous/gitleaks/compare/1.2.1...1.2.2) (2021-10-07)

### Bug Fixes

* use master or main for production env ([af9620f](https://gitlab.com/to-be-continuous/gitleaks/commit/af9620fb9716383ddb5005d42a9bf64a9f4be194))
---
 CHANGELOG.md                     | 7 +++++++
 README.md                        | 2 +-
 templates/gitlab-ci-gitleaks.yml | 4 ++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ab8c66f..17de9f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [1.2.2](https://gitlab.com/to-be-continuous/gitleaks/compare/1.2.1...1.2.2) (2021-10-07)
+
+
+### Bug Fixes
+
+* use master or main for production env ([af9620f](https://gitlab.com/to-be-continuous/gitleaks/commit/af9620fb9716383ddb5005d42a9bf64a9f4be194))
+
 ## [1.2.1](https://gitlab.com/to-be-continuous/gitleaks/compare/1.2.0...1.2.1) (2021-09-03)
 
 ### Bug Fixes
diff --git a/README.md b/README.md
index 5233b2b..3cd9588 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ In order to include this template in your project, add the following to your `gi
 ```yaml
 include:
   - project: 'to-be-continuous/gitleaks'
-    ref: '1.2.1'
+    ref: '1.2.2'
     file: '/templates/gitlab-ci-gitleaks.yml'
 ```
 
diff --git a/templates/gitlab-ci-gitleaks.yml b/templates/gitlab-ci-gitleaks.yml
index a7bfbde..852006d 100644
--- a/templates/gitlab-ci-gitleaks.yml
+++ b/templates/gitlab-ci-gitleaks.yml
@@ -187,7 +187,7 @@ stages:
     fi
   }
 
-  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update gitleaks "1.2.1"; fi
+  if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update gitleaks "1.2.2"; fi
   unscope_variables
 
   # ENDSCRIPT
@@ -199,7 +199,7 @@ gitleaks:
     entrypoint: [""]
   services:
     - name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
-      command: ["--service", "gitleaks", "1.2.1"]
+      command: ["--service", "gitleaks", "1.2.2"]
   stage: test
   variables:
     GIT_DEPTH: 0
-- 
GitLab