diff --git a/.golangci.goheader.template b/.golangci.goheader.template index 5859975..947c941 100644 --- a/.golangci.goheader.template +++ b/.golangci.goheader.template @@ -1,4 +1,4 @@ -Copyright © {{ YEAR }} Meroxa, Inc. +Copyright © {{ copyright-year }} Meroxa, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/.golangci.yml b/.golangci.yml index e5111f1..d83b9e6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,6 +13,9 @@ linters-settings: ignore-tests: true goheader: template-path: '.golangci.goheader.template' + values: + regexp: + copyright-year: 20[2-9]\d issues: exclude-rules: