From fbc868edf7900c26ae850f330fb9492830b88a69 Mon Sep 17 00:00:00 2001 From: StepSecurity Bot Date: Wed, 5 Jul 2023 10:10:23 +0000 Subject: [PATCH 1/2] chore(ci): add gitleaks to pre-commit Signed-off-by: StepSecurity Bot --- .github/dependabot.yml | 5 +++++ .pre-commit-config.yaml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b77092dc807..2ed1322608a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -71,3 +71,8 @@ updates: directory: /layer/scripts/layer-balancer schedule: interval: daily + + - package-ecosystem: pip + directory: /docs + schedule: + interval: daily diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 129e01ed039..003dabc8f46 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,3 +46,7 @@ repos: - id: terraform_fmt args: - --args=-recursive + - repo: https://github.com/gitleaks/gitleaks + rev: v8.16.3 + hooks: + - id: gitleaks From aa27401b8ad3b6e0c5b090bacc2b2ad20c73e293 Mon Sep 17 00:00:00 2001 From: Heitor Lessa Date: Wed, 5 Jul 2023 12:13:05 +0200 Subject: [PATCH 2/2] chore: use immutable hash for pre-commit Signed-off-by: Heitor Lessa --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 003dabc8f46..319afbad0b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,6 +47,6 @@ repos: args: - --args=-recursive - repo: https://github.com/gitleaks/gitleaks - rev: v8.16.3 + rev: "7804d652c0460f0b61ea9bb2c1f202bfcdbbf144" # v8.16.3 hooks: - id: gitleaks