From 0141aa69f70963cd4c6d7fd31c747b03f4110cb6 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 9 Jan 2022 10:21:52 +0200 Subject: [PATCH] Add Checkov to the pre-commit config skeleton file. Also, re-org a little by grouping the "DevOps" tools (Terraform, Docker, Ansible) together. --- .config/git/skel/.pre-commit-config.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/git/skel/.pre-commit-config.yaml b/.config/git/skel/.pre-commit-config.yaml index ed1ffb3..a1c5a55 100644 --- a/.config/git/skel/.pre-commit-config.yaml +++ b/.config/git/skel/.pre-commit-config.yaml @@ -57,6 +57,11 @@ repos: hooks: - id: mdformat + - repo: https://github.com/shellcheck-py/shellcheck-py.git + rev: v0.7.2.1 + hooks: + - id: shellcheck + - repo: https://github.com/pre-commit/pre-commit.git rev: v2.15.0 hooks: @@ -72,10 +77,10 @@ repos: - id: poetry-check - id: docker-compose - - repo: https://github.com/shellcheck-py/shellcheck-py.git - rev: v0.7.2.1 + - repo: https://github.com/bridgecrewio/checkov.git + rev: 2.0.708 hooks: - - id: shellcheck + - id: checkov - repo: https://github.com/ansible/ansible-lint.git rev: v5.2.1 -- GitLab