Skip to content

Commit 25249b6

Browse files
committed
Use dynamic year template in goheader template
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
1 parent 4abc919 commit 25249b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ linters-settings:
5353
goheader:
5454
# template does not contains the comment indicator '//' or '/*' '*/'
5555
template: |-
56-
Copyright 2024 The PipeCD Authors.
56+
Copyright {{mod-year-range}} The PipeCD Authors.
5757
5858
Licensed under the Apache License, Version 2.0 (the "License");
5959
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)