mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
9f047e356e
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
20 lines
603 B
YAML
20 lines
603 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.13.10
|
|
hooks:
|
|
- id: typos
|
|
- repo: https://github.com/zhuwenxing/trufflehog
|
|
rev: v3.28.5
|
|
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", "push"]
|