-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add license header checking app (#404)
* Add license header checking app Almost the same config as the generative-ai-docs repo: https://github.com/google/generative-ai-docs/blob/main/.github/header-checker-lint.yml * Add license headers to file-api samples.
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Lint check for license headers. | ||
# See: https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint | ||
allowedCopyrightHolders: | ||
- 'Google LLC' | ||
allowedLicenses: | ||
- 'Apache-2.0' | ||
sourceFileExtensions: | ||
- 'py' | ||
- 'sh' | ||
- 'ts' | ||
- 'js' | ||
- 'java' | ||
# Note that separate nblint checks will handle *.ipynb files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters