Files
pmg/lefthook.yml
Abhisek DattaandGitHub 19e04b71b4 fix: Enable HTTP/2 for proxy upstream with connection tuning (#183)
* fix: Enable HTTP/2 for proxy upstream with connection tuning

* fix: Handle HTTP/2 upstream translating to HTTP/1.1 downstream

* fix: Remove go tool golangci-lint as per docs

* fix: Code review fixes

* fix: Code review fixes
2026-03-11 14:40:27 +05:30

16 lines
556 B
YAML

pre-push:
parallel: true
commands:
test:
run: go test -v ./...
pre-commit:
parallel: true
commands:
linter:
run: golangci-lint run -n
secrets-scanning:
files: git diff --name-only --diff-filter=d --staged
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lefthook.yml
run: 'if command -v gitleaks > /dev/null 2>&1; then gitleaks protect --no-banner --staged --redact --verbose; else echo "WARNING: gitleaks is not installed. Please install it. See https://github.com/gitleaks/gitleaks#installing"; fi'