diff --git a/.golangci.yaml b/.golangci.yaml index a4190d1b..036d9695 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -61,8 +61,12 @@ linters-settings: lines: 150 statements: 50 goheader: + values: + regexp: + # YYYY or YYYY-YYYY + YEARS: \d\d\d\d(-\d\d\d\d)? template: |- - Copyright 2020 the Pinniped contributors. All Rights Reserved. + Copyright {{YEARS}} the Pinniped contributors. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 goimports: local-prefixes: go.pinniped.dev