Skip to content

Commit

Permalink
Merge pull request #21 from holywen/main
Browse files Browse the repository at this point in the history
add gitleaks and gitsecrets
  • Loading branch information
holywen authored Aug 22, 2024
2 parents bf084e2 + 9ca1810 commit 10e753e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
args: [ "--markdown-linebreak-ext=md" ]
- id: mixed-line-ending
- id: check-added-large-files
args: [--maxkb=2048]
- id: detect-aws-credentials
- id: detect-private-key
- id: check-merge-conflict
- id: check-case-conflict
Expand All @@ -17,8 +21,13 @@ repos:
exclude: "templates/.*"
- id: check-vcs-permalinks

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.79.1
rev: v1.92.2
hooks:
- id: terraform_fmt
name: Format Terraform Configuration
Expand Down

0 comments on commit 10e753e

Please sign in to comment.