Skip to content

Commit ede08b8

Browse files
authored
build: Allow past year in license header (#209)
1 parent 8de6888 commit ede08b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ repos:
116116
- hack/license-header.txt
117117
- --comment-style
118118
- //
119-
- --use-current-year
119+
- --allow-past-years
120120
- id: insert-license
121121
name: License headers - YAML and Makefiles
122122
stages: [commit]
@@ -125,7 +125,7 @@ repos:
125125
args:
126126
- --license-filepath
127127
- hack/license-header.txt
128-
- --use-current-year
128+
- --allow-past-years
129129
- id: insert-license
130130
name: License headers - Markdown
131131
stages: [commit]
@@ -136,7 +136,7 @@ repos:
136136
- hack/license-header.txt
137137
- --comment-style
138138
- <!--|| -->
139-
- --use-current-year
139+
- --allow-past-years
140140
- repo: https://github.com/norwoodj/helm-docs
141141
rev: v1.11.1
142142
hooks:

0 commit comments

Comments
 (0)