Update gitleaks to use native hook
This commit is contained in:
parent
90590626b8
commit
0c3506ceac
1 changed files with 4 additions and 23 deletions
|
@ -1,13 +1,3 @@
|
||||||
exclude: |
|
|
||||||
(?x)
|
|
||||||
.drawio$|
|
|
||||||
^test/.*.json$|
|
|
||||||
tsconfig.json$|
|
|
||||||
.diff$|
|
|
||||||
.patch$|
|
|
||||||
.min.|
|
|
||||||
^states/common/setup/files/01-netzbegruenung.sh$|
|
|
||||||
^states/common/setup/files/01-verdigado.sh$
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v4.6.0
|
||||||
|
@ -40,6 +30,10 @@ repos:
|
||||||
rev: v0.9.0.5
|
rev: v0.9.0.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
|
rev: v8.16.1
|
||||||
|
hooks:
|
||||||
|
- id: gitleaks
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-ssh-keys
|
- id: check-ssh-keys
|
||||||
|
@ -49,12 +43,6 @@ repos:
|
||||||
files: ^pillars/users/.+\.sls$
|
files: ^pillars/users/.+\.sls$
|
||||||
additional_dependencies: ['pyyaml==6.0.1'] # Renovate can't parse it, yet https://github.com/renovatebot/renovate/issues/20780 # TODO
|
additional_dependencies: ['pyyaml==6.0.1'] # Renovate can't parse it, yet https://github.com/renovatebot/renovate/issues/20780 # TODO
|
||||||
|
|
||||||
- id: check-codeowners
|
|
||||||
name: check CODEOWNERS for alphabetical comment order
|
|
||||||
entry: python build/check-alphabetical-comments.py
|
|
||||||
language: python
|
|
||||||
files: CODEOWNERS
|
|
||||||
|
|
||||||
- id: prettier # Copied from https://github.com/pre-commit/mirrors-prettier/ instead of referencing it to not rely on their published Prettier versions
|
- id: prettier # Copied from https://github.com/pre-commit/mirrors-prettier/ instead of referencing it to not rely on their published Prettier versions
|
||||||
name: Prettier
|
name: Prettier
|
||||||
description: ''
|
description: ''
|
||||||
|
@ -65,10 +53,3 @@ repos:
|
||||||
require_serial: false
|
require_serial: false
|
||||||
additional_dependencies: ['prettier@3'] # Renovate can't parse this, either. Unspecific to prevent local installs, when global installations are available
|
additional_dependencies: ['prettier@3'] # Renovate can't parse this, either. Unspecific to prevent local installs, when global installations are available
|
||||||
minimum_pre_commit_version: '0'
|
minimum_pre_commit_version: '0'
|
||||||
|
|
||||||
- id: git-diff
|
|
||||||
name: git diff
|
|
||||||
entry: git diff --exit-code
|
|
||||||
language: system
|
|
||||||
pass_filenames: false
|
|
||||||
always_run: true
|
|
||||||
|
|
Loading…
Reference in a new issue