Skip to content

Commit e86dc4a

Browse files
easyCZroboquat
authored andcommitted
[pre-commit] Add license header check
1 parent 81c5a50 commit e86dc4a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,11 @@ repos:
4242
hooks:
4343
- id: go-fmt
4444
- id: go-mod-tidy
45+
46+
- repo: local
47+
hooks:
48+
- id: license-header
49+
name: license-header
50+
entry: leeway run components:update-license-header
51+
language: system
52+
pass_filenames: false

0 commit comments

Comments
 (0)