From e57d8ca14b201ea7f7a16b08b31bb51da7746d9d Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 25 Apr 2021 07:18:55 +0300
Subject: [PATCH] pre-commit updates.

- Update hooks.
- Add hook to validate .gitlab-ci.yml.
---
 .pre-commit-config.yaml | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 13d68fd..26e5e87 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -10,12 +10,12 @@ repos:
       - id: trailing-whitespace
 
   - repo: https://github.com/Yelp/detect-secrets
-    rev: v0.14.3
+    rev: v1.1.0
     hooks:
       - id: detect-secrets
 
   - repo: https://github.com/adrienverge/yamllint
-    rev: v1.25.0
+    rev: v1.26.1
     hooks:
       - id: yamllint
 
@@ -27,7 +27,7 @@ repos:
         exclude: LICENSE
 
   - repo: https://github.com/executablebooks/mdformat.git
-    rev: 0.5.3
+    rev: 0.7.4
     hooks:
       - id: mdformat
 
@@ -37,7 +37,7 @@ repos:
       - id: shell-lint
 
   - repo: https://github.com/shellcheck-py/shellcheck-py.git
-    rev: v0.7.1.1
+    rev: v0.7.2.1
     hooks:
       - id: shellcheck
 
@@ -46,3 +46,11 @@ repos:
     hooks:
       - id: hadolint
       - id: docker-compose
+
+  - repo: https://gitlab.com/devopshq/gitlab-ci-linter
+    rev: v1.0.3
+    hooks:
+      - id: gitlab-ci-linter
+        args:
+          - "--server"
+          - https://git.shore.co.il
-- 
GitLab