Skip to content

Commit

Permalink
chore(pre-commit): Add hooks to update manifests and generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 17, 2024
1 parent 7c5f22a commit 1a4861f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,18 @@ repos:
- id: go-vet-mod
- id: golangci-lint-mod
args: [--fix]

- repo: local
hooks:
- id: manifests
name: manifests
entry: make manifests
language: system
types: [go]
pass_filenames: false
- id: generate
name: generate
entry: make generate
language: system
types: [go]
pass_filenames: false

0 comments on commit 1a4861f

Please sign in to comment.