From c8f0dc88e47caf1a5c531375ffd4df770dbe566a Mon Sep 17 00:00:00 2001 From: "@slovacus" Date: Fri, 28 May 2021 20:08:26 -0500 Subject: [PATCH] chore: implement validation leaks a level git (#3) --- .github/linters/.gitleaks.toml | 1 + .pre-commit-config.yaml | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/.github/linters/.gitleaks.toml b/.github/linters/.gitleaks.toml index 71efb05..f98ecb6 100644 --- a/.github/linters/.gitleaks.toml +++ b/.github/linters/.gitleaks.toml @@ -140,6 +140,7 @@ title = "gitleaks config" '''support@hadenlabs.com''', '''santiago.rojas@inetum.world''', '''miguel.huamani@inetum.world''', + '''luis@yopmail.com''', '''luis.mayta@inetum.world''', ] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ed36384..40dd846 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,6 +53,26 @@ repos: )$ args: - --exclude=SC1072,SC1073,SC2068 + - id: validate-toml + - id: no-go-testing + - id: golangci-lint + args: + - --fix + - --config=.github/linters/.golangci.yml + - id: terraform-docs + args: + - '--output-file=docs/include/terraform.md' + - '--output-mode=replace' + - '--sort-by-type' + + - id: terraform-tflint + args: + - '--config=.github/linters/.tflint.hcl' + - id: terragrunt-fmt + - id: terraform-fmt + - id: terraform-tfsec + + - id: checkov - id: todocheck - id: gitleaks args: