From f65168cb550cb7c7f020bad0e598e3982363112b Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Fri, 27 Feb 2026 14:04:54 +0530 Subject: [PATCH 1/3] add year pattern regex --- .licenserc.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.licenserc.yaml b/.licenserc.yaml index 4670661..18b8fa7 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -16,7 +16,20 @@ header: license: spdx-id: "Apache-2.0" copyright-owner: "Google LLC" - copyright-year: "2025" + pattern: | + Copyright 202[56] Google LLC + + Licensed under the Apache License, Version 2.0 \(the "License"\); + you may not use this file except in compliance with the License\. + You may obtain a copy of the License at + + http://www\.apache\.org/licenses/LICENSE-2\.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\. + See the License for the specific language governing permissions and + limitations under the License\. paths: - "**/*.yaml" - "**/*.yml" From 6f1e0d6325f6ada8c5f68ee9faff981ae2ab8812 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Fri, 27 Feb 2026 14:05:31 +0530 Subject: [PATCH 2/3] test header check years --- .github/workflows/header-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index dbc869f..9bee4f5 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -1,4 +1,4 @@ -# Copyright 2025 Google LLC +# Copyright 2026 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. From 0f85518d7c7f5a50e149a544c57aece1a5ed07da Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Fri, 27 Feb 2026 14:10:05 +0530 Subject: [PATCH 3/3] Update header-check.yml --- .github/workflows/header-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index 9bee4f5..dbc869f 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -1,4 +1,4 @@ -# Copyright 2026 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.