Skip to content

Commit f3a4643

Browse files
authored
chore: add year pattern regex to .licenserc.yaml (#97)
1 parent 895312c commit f3a4643

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.licenserc.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,20 @@ header:
1616
license:
1717
spdx-id: "Apache-2.0"
1818
copyright-owner: "Google LLC"
19-
copyright-year: "2025"
19+
pattern: |
20+
Copyright 202[56] Google LLC
21+
22+
Licensed under the Apache License, Version 2.0 \(the "License"\);
23+
you may not use this file except in compliance with the License\.
24+
You may obtain a copy of the License at
25+
26+
http://www\.apache\.org/licenses/LICENSE-2\.0
27+
28+
Unless required by applicable law or agreed to in writing, software
29+
distributed under the License is distributed on an "AS IS" BASIS,
30+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.
31+
See the License for the specific language governing permissions and
32+
limitations under the License\.
2033
paths:
2134
- "**/*.yaml"
2235
- "**/*.yml"

0 commit comments

Comments
 (0)