milvus/.pre-commit-config.yaml
zhuwenxing 3c74acb55c
[skip e2e]Set resource for indexnode in chaos test (#27011)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-09-12 10:59:18 +08:00

20 lines
600 B
YAML

repos:
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:
- id: golangci-lint
args: [--config=.golangci.yml, --timeout=3m]
- repo: https://github.com/crate-ci/typos
rev: v1.16.10
hooks:
- id: typos
- repo: https://github.com/trufflesecurity/trufflehog
rev: v3.54.3
hooks:
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
entry: bash -c 'trufflehog git file://. --max-depth 1 --since-commit HEAD --only-verified --fail'
language: system
stages: ["commit"]