From 950100b1adb6e5ca3798decc61733a8b16c1fbe5 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 20 Sep 2021 20:15:28 +0300 Subject: [PATCH] Update pre-commit hooks. --- .pre-commit-config.yaml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13d68fd..b25a1a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,22 +27,30 @@ repos: exclude: LICENSE - repo: https://github.com/executablebooks/mdformat.git - rev: 0.5.3 + rev: 0.7.10 hooks: - id: mdformat - - repo: https://git.shore.co.il/nimrod/shell-pre-commit.git - rev: v0.6.0 - hooks: - - id: shell-lint - - repo: https://github.com/shellcheck-py/shellcheck-py.git rev: v0.7.1.1 hooks: - id: shellcheck - - repo: https://git.shore.co.il/nimrod/docker-pre-commit.git/ - rev: v0.3.0 + - repo: https://git.shore.co.il/nimrod/pre-commit-hooks.git/ + rev: v0.2.0 hooks: - - id: hadolint + - id: shell-validate - id: docker-compose + + - repo: https://gitlab.com/devopshq/gitlab-ci-linter + rev: v1.0.4 + hooks: + - id: gitlab-ci-linter + args: + - "--server" + - https://git.shore.co.il + + - repo: https://github.com/AleksaC/hadolint-py.git + rev: v2.1.0 + hooks: + - id: hadolint -- GitLab