Skip to content

Commit c6e6de2

Browse files
averikitschShabirmean
authored andcommitted
chore: add linter for license header
1 parent 93c8544 commit c6e6de2

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/header-checker-lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Presubmit test that ensures that source files contain valid license headers
2+
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint
3+
# Install: https://github.com/apps/license-header-lint-gcf
4+
5+
allowedCopyrightHolders:
6+
- 'Google LLC'
7+
allowedLicenses:
8+
- 'Apache-2.0'
9+
sourceFileExtensions:
10+
- 'Dockerfile'
11+
- 'gradle'
12+
- 'groovy'
13+
- 'html'
14+
- 'java'
15+
- 'js'
16+
- 'kt'
17+
- 'proto'
18+
- 'scala'
19+
- 'sbt'
20+
- 'sh'
21+
- 'tf'
22+
- 'txt'
23+
- 'yaml'
24+
- 'yml'

0 commit comments

Comments
 (0)