Skip to content

Commit 937f17f

Browse files
committed
fix(pre-commit): add additional_dependency on copywrite
Signed-off-by: Bryan Hundven <[email protected]>
1 parent 4eee5fe commit 937f17f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-hooks.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,33 @@
33
description: Adds missing copyright headers to all source code files
44
entry: copywrite headers
55
language: golang
6+
additional_dependencies:
7+
- github.com/hashicorp/[email protected]
68
pass_filenames: false
79

810
- id: check-headers
911
name: Validate copyright headers
1012
description: Checks if any copyright headers are missing, but does not make changes
1113
entry: copywrite headers --plan
1214
language: golang
15+
additional_dependencies:
16+
- github.com/hashicorp/[email protected]
1317
pass_filenames: false
1418

1519
- id: add-license
1620
name: Add or fix repo license
1721
description: Adds or updates a non-compliant LICENSE file
1822
entry: copywrite license
1923
language: golang
24+
additional_dependencies:
25+
- github.com/hashicorp/[email protected]
2026
pass_filenames: false
2127

2228
- id: check-license
2329
name: Validate repo license
2430
description: Checks if a LICENSE file is valid, but does not make changes
2531
entry: copywrite license --plan
2632
language: golang
33+
additional_dependencies:
34+
- github.com/hashicorp/[email protected]
2735
pass_filenames: false

0 commit comments

Comments
 (0)