Skip to content

Commit c909395

Browse files
committed
ci: skip broken Go hooks on pre-commit.ci
1 parent df6077b commit c909395

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
ci:
2+
# Go formatting/vetting is enforced by the golangci-lint workflow (lint.yml).
3+
# The dnephin/pre-commit-golang go-vet hook is also incompatible with this
4+
# repo's single-root-go.mod layout (fails with "no Go files in <root>"), so
5+
# skip both Go hooks on pre-commit.ci to keep it green.
6+
skip: [go-fmt, go-vet]
7+
18
repos:
29
- repo: https://github.com/pre-commit/pre-commit-hooks
310
rev: v5.0.0

0 commit comments

Comments
 (0)